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

Flow · Результат операции «тестирование»

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

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

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

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

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

Recover a recorded safe Flow test result for this account and client. On errors use system_logs_search; read sabsus_get_master_prompt topic=automations for diagnosis. Rechecks current company/Flow access; the result remains bound to the historical tested revision. No test, provider or Flow runs.

Параметры запроса
flowId
Native Flow ID. обязательно по схеме · string
requestId
Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
Что вернёт команда
flowId
Native Flow ID. обязательно по схеме · string
revision
Exact Flow revision tested; never a production execution revision. обязательно по схеме · string
requestId
Original test request. обязательно по схеме · string
valid
Full configuration and safe test passed for this payload. обязательно по схеме · boolean
environment
Existing Flow Studio dry-run only. обязательно по схеме · string
productionActivated
Testing never activates or executes the production Flow. обязательно по схеме · boolean
executionOrder
Visited native node IDs in execution order. обязательно по схеме · array · до элементов 100
nodes
Safe per-node results. Provider payloads and configuration values are omitted. обязательно по схеме · array · до элементов 100
errors
Errors to correct before retesting. обязательно по схеме · array · до элементов 100
warnings
Coverage/configuration observations. обязательно по схеме · array · до элементов 100
requirements
Secure setup requirements; no URLs, keys or tokens. обязательно по схеме · array · до элементов 200
sideEffects
No business writes, external messages, network actions, crypto or production activation. обязательно по схеме · string
testedAt
Server completion timestamp. обязательно по схеме · string
Поля и технические схемы
Входные поля и поля ответа flows_get_test_result
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "flowId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,160}$",
      "description": "Native Flow ID."
    },
    "requestId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{8,128}$",
      "description": "Original safe-test request ID."
    }
  },
  "required": [
    "flowId",
    "requestId"
  ],
  "additionalProperties": false
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "flowId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,160}$",
      "description": "Native Flow ID."
    },
    "revision": {
      "type": "string",
      "pattern": "^fsv1:-?\\d{1,12}:\\d{1,9}$",
      "description": "Exact Flow revision tested; never a production execution revision."
    },
    "requestId": {
      "type": "string",
      "description": "Original test request."
    },
    "valid": {
      "type": "boolean",
      "description": "Full configuration and safe test passed for this payload."
    },
    "environment": {
      "type": "string",
      "const": "test",
      "description": "Existing Flow Studio dry-run only."
    },
    "productionActivated": {
      "type": "boolean",
      "const": false,
      "description": "Testing never activates or executes the production Flow."
    },
    "executionOrder": {
      "maxItems": 100,
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^[A-Za-z0-9_~:@+.-]{1,160}$"
      },
      "description": "Visited native node IDs in execution order."
    },
    "nodes": {
      "maxItems": 100,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "nodeId": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_~:@+.-]{1,160}$",
            "description": "Native node visited by Flow Studio."
          },
          "status": {
            "type": "string",
            "enum": [
              "simulated",
              "mocked"
            ],
            "description": "Pure handler evaluated, or external action prevented."
          },
          "success": {
            "type": "boolean",
            "description": "Runtime result and resolved parameter validation both passed."
          },
          "branch": {
            "type": "string",
            "enum": [
              "",
              "left",
              "right"
            ],
            "description": "Chosen native condition branch, otherwise empty."
          },
          "fixtureApplied": {
            "default": false,
            "description": "A supplied mock response was used for this node; never evidence of a real provider response.",
            "type": "boolean"
          }
        },
        "required": [
          "nodeId",
          "status",
          "success",
          "branch",
          "fixtureApplied"
        ],
        "additionalProperties": false
      },
      "description": "Safe per-node results. Provider payloads and configuration values are omitted."
    },
    "errors": {
      "maxItems": 100,
      "type": "array",
      "items": {
        "$ref": "#/$defs/_mcp1"
      },
      "description": "Errors to correct before retesting."
    },
    "warnings": {
      "maxItems": 100,
      "type": "array",
      "items": {
        "$ref": "#/$defs/_mcp1"
      },
      "description": "Coverage/configuration observations."
    },
    "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; no URLs, keys or tokens."
    },
    "sideEffects": {
      "type": "string",
      "const": "blocked",
      "description": "No business writes, external messages, network actions, crypto or production activation."
    },
    "testedAt": {
      "type": "string",
      "format": "date-time",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
      "description": "Server completion timestamp."
    }
  },
  "required": [
    "flowId",
    "revision",
    "requestId",
    "valid",
    "environment",
    "productionActivated",
    "executionOrder",
    "nodes",
    "errors",
    "warnings",
    "requirements",
    "sideEffects",
    "testedAt"
  ],
  "additionalProperties": false,
  "$defs": {
    "_mcp1": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string",
          "maxLength": 100,
          "description": "Stable diagnostic code."
        },
        "nodeId": {
          "$ref": "#/$defs/_mcp0"
        },
        "field": {
          "type": "string",
          "maxLength": 300,
          "description": "Native field path, without its value."
        }
      },
      "required": [
        "code",
        "nodeId",
        "field"
      ],
      "additionalProperties": false
    },
    "_mcp0": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^[A-Za-z0-9_~:@+.-]{1,160}$"
        },
        {
          "type": "null"
        }
      ],
      "description": "Affected native node, or null for the whole graph."
    }
  }
}