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

Flow · Проверка

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

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

Получить данные
  1. Вы указываетеСценарий
  2. ПомощникЧтение
  3. Вы получаетеПоля ответа
Запрос в чат
Для задачи «Flow / Проверка» выполни чтение по выбранной записи (сценарий). Выведи кратко: requirements, accessChecked.
Что искать в ответе
requirements
Поле ответа
accessChecked
Поле ответа
flowId
Сценарий
Задать параметры
  1. Вы указываетеСценарий
  2. ПомощникСверка выбора
  3. Вы получаетеТочный объект
Запрос в чат
Покажи, как получить «Flow / Проверка» на учебном примере с flowId = DEMO-101. Объясни, какие ещё данные нужны и как будет выглядеть ответ.
Фрагмент учебных параметров
flowId
DEMO-101
Разобрать ответ
  1. Вы указываетеПолученный ответ
  2. ПомощникРазбор значений
  3. Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Flow / Проверка» объясни requirements, accessChecked. Отметь отсутствующие значения.
Поля для проверки
requirements
Поле ответа
accessChecked
Поле ответа
flowId
Сценарий
Как работает действие

Это чтение. Выберите запись или задайте фильтры в доступной компании. Прочитайте актуальную версию записи перед подготовкой запроса.

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

Validate one stored native Flow at an optional exact revision: structure, native node schemas, required parameters, exact field types, authorized references, current scopes, integrations and secure setup requirements. On errors use system_logs_search; read sabsus_get_master_prompt topic=automations for diagnosis. Returns bounded issue codes and setup metadata. Run flows_test separately for payload/branch verification. No Flow or handler runs.

Параметры запроса
flowId
Native Flow ID in the current verified company. обязательно по схеме · string · до символов 160
expectedRevision
Версия, прочитанная перед изменением. необязательно · string
Что вернёт команда
requirements
Secure setup requirements derived from stored native configuration. обязательно по схеме · array · до элементов 200
accessChecked
Whether current authority, integration and native entity contracts were checked. обязательно по схеме · boolean
flowId
Native Flow ID in the current verified company. обязательно по схеме · string · до символов 160
revision
Exact Flow document update-time revision; continuation requires this revision. обязательно по схеме · string
valid
Whether supported structural checks passed. обязательно по схеме · boolean
nodeCount
Stored node count. обязательно по схеме · integer · минимум -9007199254740991 · максимум 9007199254740991
errors
Structural errors; no values or credentials are returned. обязательно по схеме · array · до элементов 100
warnings
Configuration/runtime observations that do not authorize execution. обязательно по схеме · array · до элементов 100
scope
Checks IDs, types, links and supported node settings, not provider state or runtime authorization. обязательно по схеме · string
executionChecked
No handlers or providers run during validation. обязательно по схеме · boolean
Поля и технические схемы
Входные поля и поля ответа flows_validate
Вход · 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": "Native Flow ID in the current verified company."
    },
    "expectedRevision": {
      "description": "Optional exact revision for validation of a previously read graph.",
      "type": "string",
      "pattern": "^fsv1:-?\\d{1,12}:\\d{1,9}$"
    }
  },
  "required": [
    "flowId"
  ],
  "additionalProperties": false
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "requirements": {
      "maxItems": 200,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "nodeId": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_~:@+.-]{1,160}$",
            "description": "Native node requiring configuration."
          },
          "kind": {
            "type": "string",
            "enum": [
              "credential",
              "oauth"
            ],
            "description": "Secure UI interaction required."
          },
          "provider": {
            "type": "string",
            "maxLength": 100,
            "description": "Existing provider identifier, or empty if an existing integration must be selected."
          },
          "integrationId": {
            "type": "string",
            "maxLength": 160,
            "description": "Existing company integration ID, or empty until resolved."
          },
          "field": {
            "type": "string",
            "maxLength": 300,
            "description": "Native destination field; no secret value."
          },
          "status": {
            "type": "string",
            "enum": [
              "required",
              "ready",
              "invalid"
            ],
            "description": "Metadata and access check result; ready does not certify provider credentials with an external call."
          },
          "referenceId": {
            "type": "string",
            "maxLength": 160,
            "description": "Opaque integration or credential ID only."
          }
        },
        "required": [
          "nodeId",
          "kind",
          "provider",
          "integrationId",
          "field",
          "status",
          "referenceId"
        ],
        "additionalProperties": false
      },
      "description": "Secure setup requirements derived from stored native configuration."
    },
    "accessChecked": {
      "type": "boolean",
      "description": "Whether current authority, integration and native entity contracts were checked."
    },
    "flowId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 160,
      "pattern": "^[A-Za-z0-9_~:@+.-]+$",
      "description": "Native Flow ID in the current verified company."
    },
    "revision": {
      "type": "string",
      "pattern": "^fsv1:-?\\d{1,12}:\\d{1,9}$",
      "description": "Exact Flow document update-time revision; continuation requires this revision."
    },
    "valid": {
      "type": "boolean",
      "description": "Whether supported structural checks passed."
    },
    "nodeCount": {
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991,
      "description": "Stored node count."
    },
    "errors": {
      "maxItems": 100,
      "type": "array",
      "items": {
        "$ref": "#/$defs/_mcp1"
      },
      "description": "Structural errors; no values or credentials are returned."
    },
    "warnings": {
      "maxItems": 100,
      "type": "array",
      "items": {
        "$ref": "#/$defs/_mcp1"
      },
      "description": "Configuration/runtime observations that do not authorize execution."
    },
    "scope": {
      "type": "string",
      "const": "structure_and_configuration",
      "description": "Checks IDs, types, links and supported node settings, not provider state or runtime authorization."
    },
    "executionChecked": {
      "type": "boolean",
      "const": false,
      "description": "No handlers or providers run during validation."
    }
  },
  "required": [
    "requirements",
    "accessChecked",
    "flowId",
    "revision",
    "valid",
    "nodeCount",
    "errors",
    "warnings",
    "scope",
    "executionChecked"
  ],
  "additionalProperties": false,
  "$defs": {
    "_mcp1": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string",
          "description": "Stable validation code."
        },
        "nodeId": {
          "$ref": "#/$defs/_mcp0"
        },
        "field": {
          "type": "string",
          "maxLength": 300,
          "description": "Field path only; never configuration contents."
        }
      },
      "required": [
        "code",
        "nodeId",
        "field"
      ],
      "additionalProperties": false
    },
    "_mcp0": {
      "anyOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 160,
          "pattern": "^[A-Za-z0-9_~:@+.-]+$"
        },
        {
          "type": "null"
        }
      ],
      "description": "Affected node ID, or null for an invalid identity."
    }
  }
}