MCP Control
Автоматизации · Чувствительное действие

Flow · Чаты · Изменение

flows_workspace_chat_edit
Карточки процесса, соединённые нитями

Попробуйте три запроса

Подготовить
  1. Вы указываетеСценарий
  2. ПомощникПодготовка
  3. Вы получаетеПредпросмотр
Запрос в чат
Подготовь «Flow / Чаты / Изменение». Для изменения нужны сценарий, message. Покажи объект и ожидаемый эффект до выполнения.
Что входит в подготовку
flowId
Сценарий
message
Параметр
scope
Параметр
Применить
  1. Вы указываетеСогласованные значения
  2. ПомощникОдин вызов
  3. Вы получаетеОтвет операции
Запрос в чат
На учебной записи подготовь «Flow / Чаты / Изменение» с параметром scope = flow. Покажи остальные обязательные значения и выполни действие, когда согласованы все поля.
Фрагмент учебных параметров
scope
flow
language
ru
flowId
DEMO-101
Проверить итог
  1. Вы указываетеИсходный ответ
  2. ПомощникСверка результата
  3. Вы получаетеПодтверждение
Запрос в чат
Проверь результат «Flow / Чаты / Изменение» по исходному ответу. Покажи companyId, результат. Объясни, чем подтвердить эффект для выбранного объекта.
Как сверить изменение
  1. До измененияПрочитать версию
  2. При записиПередать выбранную версию
  3. После ответаПеречитать объект
Как работает действие

Этот вызов может изменить рабочие данные. Согласуйте точный объект, новые значения и ожидаемый результат. Присвойте операции стабильный requestId. При повторе той же операции используйте прежний ключ и те же значения. Прочитайте актуальную версию записи перед подготовкой запроса.

Описание разработчика

Use the native Flow AI editor on the exact saved draft or selected node, then save a new draft revision. On errors use system_logs_search; read sabsus_get_master_prompt topic=automations for diagnosis. May consume AI credits. Does not publish or execute. Read graph_read to review the result.

Параметры запроса
flowId
Native flowId value; use the value and type returned by the corresponding service. обязательно по схеме · string
expectedRevision
Версия, прочитанная перед изменением. обязательно по схеме · integer · максимум 9007199254740991
message
Native message value; use the value and type returned by the corresponding service. обязательно по схеме · string · до символов 12000
scope
Native scope value; use the value and type returned by the corresponding service. необязательно · string · варианты flow, node
selectedNodeId
Native selectedNodeId value; use the value and type returned by the corresponding service. необязательно · string
language
Язык результата или локализуемого значения согласно схеме. необязательно · string · варианты ru, en
model
Native model value; use the value and type returned by the corresponding service. необязательно · string · до символов 80
requestId
Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
Что вернёт команда
companyId
Native companyId value; use the value and type returned by the corresponding service. обязательно по схеме · string
result
Native result value; use the value and type returned by the corresponding service. обязательно по схеме · object
Поля и технические схемы
Входные поля и поля ответа flows_workspace_chat_edit
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "flowId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
      "description": "Native flowId value; use the value and type returned by the corresponding service."
    },
    "expectedRevision": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991,
      "description": "Native expectedRevision value; use the value and type returned by the corresponding service."
    },
    "message": {
      "type": "string",
      "minLength": 1,
      "maxLength": 12000,
      "description": "Native message value; use the value and type returned by the corresponding service."
    },
    "scope": {
      "description": "Native scope value; use the value and type returned by the corresponding service.",
      "type": "string",
      "enum": [
        "flow",
        "node"
      ]
    },
    "selectedNodeId": {
      "description": "Native selectedNodeId value; use the value and type returned by the corresponding service.",
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$"
    },
    "language": {
      "description": "Native language value; use the value and type returned by the corresponding service.",
      "type": "string",
      "enum": [
        "ru",
        "en"
      ]
    },
    "model": {
      "description": "Native model value; use the value and type returned by the corresponding service.",
      "type": "string",
      "minLength": 1,
      "maxLength": 80
    },
    "requestId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{8,128}$",
      "description": "Stable request ID for these exact arguments. Keep it if the response is uncertain."
    }
  },
  "required": [
    "flowId",
    "expectedRevision",
    "message",
    "requestId"
  ],
  "additionalProperties": false
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "companyId": {
      "type": "string",
      "description": "Native companyId value; use the value and type returned by the corresponding service."
    },
    "result": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "$ref": "#/$defs/__schema0"
      },
      "description": "Native result value; use the value and type returned by the corresponding service."
    }
  },
  "required": [
    "companyId",
    "result"
  ],
  "additionalProperties": false,
  "$defs": {
    "__schema0": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "number"
        },
        {
          "type": "boolean"
        },
        {
          "type": "null"
        },
        {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema0"
          }
        },
        {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {
            "$ref": "#/$defs/__schema0"
          }
        }
      ]
    }
  }
}