MCP Control
Автоматизации · Изменение

Flow · Удаление · Узлы

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

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

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

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

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

Remove one known-type node from a DISABLED Flow and atomically remove all references to it from left/right/bottom and input_from. Other node configuration is preserved. Requires the expected node type, exact Flow revision and company-wide automations.update. No Flow handler, test or execution is called.

Параметры запроса
flowId
Flow ID in the server-verified company; the stored Flow must be disabled. обязательно по схеме · string · до символов 160
expectedRevision
Версия, прочитанная перед изменением. обязательно по схеме · string
requestId
Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string · до символов 128
nodeId
Existing native node ID in this Flow. обязательно по схеме · string · до символов 160
nodeType
One of the 13 recorded native node types. Native configuration is accepted separately; this does not activate or execute the handler. обязательно по схеме · string · варианты trigger, webhook, action, if, mapping, filter, fields, limit, merge, calculate, crypto, json, end
Что вернёт команда
flowId
Flow ID in the server-verified company; the stored Flow must be disabled. обязательно по схеме · string · до символов 160
nodeId
Existing native node ID in this Flow. обязательно по схеме · string · до символов 160
nodeType
One of the 13 recorded native node types. Native configuration is accepted separately; this does not activate or execute the handler. обязательно по схеме · string · варианты trigger, webhook, action, if, mapping, filter, fields, limit, merge, calculate, crypto, json, end
operation
Committed configuration operation. обязательно по схеме · string · варианты add_node, update_node, remove_node, connect, disconnect, duplicate_node
appliedFromRevision
Exact current revision from flows_get_metadata; any intervening Studio or MCP edit conflicts. обязательно по схеме · string
active
Parent Flow remains disabled. обязательно по схеме · boolean
executionStarted
No Flow, test or node handler was invoked. обязательно по схеме · boolean
Поля и технические схемы
Входные поля и поля ответа flows_remove_node
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "flowId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 160,
      "pattern": "^[A-Za-z0-9_~:@+.-]+$",
      "description": "Flow ID in the server-verified company; the stored Flow must be disabled."
    },
    "expectedRevision": {
      "type": "string",
      "pattern": "^fsv1:-?\\d{1,12}:\\d{1,9}$",
      "description": "Exact current revision from flows_get_metadata; any intervening Studio or MCP edit conflicts."
    },
    "requestId": {
      "type": "string",
      "minLength": 8,
      "maxLength": 128,
      "pattern": "^[A-Za-z0-9_-]+$",
      "description": "Idempotency ID for these exact arguments; retry unchanged after an uncertain response."
    },
    "nodeId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 160,
      "pattern": "^[A-Za-z0-9_~:@+.-]+$",
      "description": "Existing native node ID in this Flow."
    },
    "nodeType": {
      "type": "string",
      "enum": [
        "trigger",
        "webhook",
        "action",
        "if",
        "mapping",
        "filter",
        "fields",
        "limit",
        "merge",
        "calculate",
        "crypto",
        "json",
        "end"
      ],
      "description": "One of the 13 recorded native node types. Native configuration is accepted separately; this does not activate or execute the handler."
    }
  },
  "required": [
    "flowId",
    "expectedRevision",
    "requestId",
    "nodeId",
    "nodeType"
  ],
  "additionalProperties": false
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "flowId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 160,
      "pattern": "^[A-Za-z0-9_~:@+.-]+$",
      "description": "Flow ID in the server-verified company; the stored Flow must be disabled."
    },
    "nodeId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 160,
      "pattern": "^[A-Za-z0-9_~:@+.-]+$",
      "description": "Existing native node ID in this Flow."
    },
    "nodeType": {
      "type": "string",
      "enum": [
        "trigger",
        "webhook",
        "action",
        "if",
        "mapping",
        "filter",
        "fields",
        "limit",
        "merge",
        "calculate",
        "crypto",
        "json",
        "end"
      ],
      "description": "One of the 13 recorded native node types. Native configuration is accepted separately; this does not activate or execute the handler."
    },
    "operation": {
      "type": "string",
      "enum": [
        "add_node",
        "update_node",
        "remove_node",
        "connect",
        "disconnect",
        "duplicate_node"
      ],
      "description": "Committed configuration operation."
    },
    "appliedFromRevision": {
      "type": "string",
      "pattern": "^fsv1:-?\\d{1,12}:\\d{1,9}$",
      "description": "Exact current revision from flows_get_metadata; any intervening Studio or MCP edit conflicts."
    },
    "active": {
      "type": "boolean",
      "const": false,
      "description": "Parent Flow remains disabled."
    },
    "executionStarted": {
      "type": "boolean",
      "const": false,
      "description": "No Flow, test or node handler was invoked."
    }
  },
  "required": [
    "flowId",
    "nodeId",
    "nodeType",
    "operation",
    "appliedFromRevision",
    "active",
    "executionStarted"
  ],
  "additionalProperties": false
}