MCP Control
Коммуникации · Чтение

Звонки · Просмотр · Результаты

calls_get_result
Контактные карточки и телефон

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

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

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

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

Read any accessible company call result, summary, finalization state and transcript metadata, including calls initiated in another interface or by another employee. Use calls_get_transcript for the stored conversation. Current company/location access applies; never dials or executes Flow.

Параметры запроса
callId
Existing Calls document ID in the connected company, from any interface or initiating user. обязательно по схеме · string · до символов 160
Что вернёт команда
callId
Canonical company call ID. обязательно по схеме · string · до символов 160
status
Stored lifecycle status; completed does not prove the business goal. обязательно по схеме · string
ended
Stored call state is terminal. обязательно по схеме · boolean
mode
Stored call mode, or null for legacy calls. обязательно по схеме · string / null
dispatchState
Stored protected dispatch state, or null for calls from another runtime. обязательно по схеме · string / null
preparationFailure
Known setup failure before dialing. обязательно по схеме · object / null
durationSeconds
Stored duration in seconds. обязательно по схеме · number / null
recovery
Read status unless the original account can recover a prepared dispatch. обязательно по схеме · string · варианты read_status, complete, retry_same_request
recording
Native recording state; never a public media token. обязательно по схеме · object
direction
Stored direction. обязательно по схеме · string / null
customerId
Verified linked customer. обязательно по схеме · string / null
startAt
Stored start time in UTC. обязательно по схеме · string / null
finishAt
Stored finish time in UTC. обязательно по схеме · string / null
summary
Stored conversation summary, or null. No summary is invented by a read. обязательно по схеме · string / null
answers
Stored scalar extracted answers only; null when no extraction exists. Never inferred by a read. обязательно по схеме · object / null
answersState
Actual stored answer availability. обязательно по схеме · string · варианты available, unavailable
resultState
Call completion and result finalization are distinct. обязательно по схеме · string · варианты in_progress, processing, ready
resultReady
The stored conversation has finalized or a terminal no-conversation outcome exists. обязательно по схеме · boolean
resultRevision
Content revision for result consistency. обязательно по схеме · string
transcript
Transcript metadata. обязательно по схеме · object
goal
Stored purpose of this call. обязательно по схеме · string / null
completionReason
Stored completion reason. обязательно по схеме · string / null
Поля и технические схемы
Входные поля и поля ответа calls_get_result
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "callId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 160,
      "pattern": "^[A-Za-z0-9_~:@+.-]+$",
      "description": "Existing Calls document ID in the connected company, from any interface or initiating user."
    }
  },
  "required": [
    "callId"
  ],
  "additionalProperties": false
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "callId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 160,
      "pattern": "^[A-Za-z0-9_~:@+.-]+$",
      "description": "Canonical company call ID."
    },
    "status": {
      "type": "string",
      "description": "Stored lifecycle status; completed does not prove the business goal."
    },
    "ended": {
      "type": "boolean",
      "description": "Stored call state is terminal."
    },
    "mode": {
      "description": "Stored call mode, or null for legacy calls.",
      "type": [
        "string",
        "null"
      ]
    },
    "dispatchState": {
      "description": "Stored protected dispatch state, or null for calls from another runtime.",
      "type": [
        "string",
        "null"
      ]
    },
    "preparationFailure": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "stage": {
              "type": "string",
              "description": "Preparation phase."
            },
            "code": {
              "type": "string",
              "description": "Sanitized preparation error."
            }
          },
          "required": [
            "stage",
            "code"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ],
      "description": "Known setup failure before dialing."
    },
    "durationSeconds": {
      "anyOf": [
        {
          "type": "number",
          "minimum": 0
        },
        {
          "type": "null"
        }
      ],
      "description": "Stored duration in seconds."
    },
    "recovery": {
      "type": "string",
      "enum": [
        "read_status",
        "complete",
        "retry_same_request"
      ],
      "description": "Read status unless the original account can recover a prepared dispatch."
    },
    "recording": {
      "type": "object",
      "properties": {
        "requested": {
          "type": "boolean",
          "description": "A recording was requested or exists."
        },
        "status": {
          "type": "string",
          "description": "Recording persistence state."
        },
        "available": {
          "type": "boolean",
          "description": "A verified native media object exists."
        }
      },
      "required": [
        "requested",
        "status",
        "available"
      ],
      "additionalProperties": false,
      "description": "Native recording state; never a public media token."
    },
    "direction": {
      "description": "Stored direction.",
      "type": [
        "string",
        "null"
      ]
    },
    "customerId": {
      "description": "Verified linked customer.",
      "type": [
        "string",
        "null"
      ]
    },
    "startAt": {
      "description": "Stored start time in UTC.",
      "type": [
        "string",
        "null"
      ]
    },
    "finishAt": {
      "description": "Stored finish time in UTC.",
      "type": [
        "string",
        "null"
      ]
    },
    "summary": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 6000
        },
        {
          "type": "null"
        }
      ],
      "description": "Stored conversation summary, or null. No summary is invented by a read."
    },
    "answers": {
      "anyOf": [
        {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {
            "type": [
              "string",
              "number",
              "boolean",
              "null"
            ]
          }
        },
        {
          "type": "null"
        }
      ],
      "description": "Stored scalar extracted answers only; null when no extraction exists. Never inferred by a read."
    },
    "answersState": {
      "type": "string",
      "enum": [
        "available",
        "unavailable"
      ],
      "description": "Actual stored answer availability."
    },
    "resultState": {
      "type": "string",
      "enum": [
        "in_progress",
        "processing",
        "ready"
      ],
      "description": "Call completion and result finalization are distinct."
    },
    "resultReady": {
      "type": "boolean",
      "description": "The stored conversation has finalized or a terminal no-conversation outcome exists."
    },
    "resultRevision": {
      "type": "string",
      "description": "Content revision for result consistency."
    },
    "transcript": {
      "type": "object",
      "properties": {
        "state": {
          "type": "string",
          "enum": [
            "available",
            "pending",
            "unavailable"
          ],
          "description": "Stored transcript availability."
        },
        "characters": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991,
          "description": "Total readable transcript characters; use calls_get_transcript for pages."
        }
      },
      "required": [
        "state",
        "characters"
      ],
      "additionalProperties": false,
      "description": "Transcript metadata."
    },
    "goal": {
      "description": "Stored purpose of this call.",
      "type": [
        "string",
        "null"
      ]
    },
    "completionReason": {
      "description": "Stored completion reason.",
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "callId",
    "status",
    "ended",
    "mode",
    "dispatchState",
    "preparationFailure",
    "durationSeconds",
    "recovery",
    "recording",
    "direction",
    "customerId",
    "startAt",
    "finishAt",
    "summary",
    "answers",
    "answersState",
    "resultState",
    "resultReady",
    "resultRevision",
    "transcript",
    "goal",
    "completionReason"
  ],
  "additionalProperties": false
}