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

Звонки · Просмотр

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

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

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

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

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

Refresh the stored lifecycle outcome of one existing call using callId from calls_search. Verifies the connected company and every stored customer/order/lead/location link. Returns bounded status and timing only; never places a call, contacts a provider, loads recordings/transcripts, or changes call state.

Параметры запроса
callId
Exact existing canonical call ID returned by calls_search. A phone number, URL, path or another company cannot be supplied. обязательно по схеме · string · до символов 160
Что вернёт команда
callId
Canonical Calls document ID in the connected company. обязательно по схеме · string · до символов 160
direction
Stored call direction. No direction is inferred from a phone number. обязательно по схеме · string / null
status
Latest stored provider/business status; a queued or accepted status does not prove a completed call. обязательно по схеме · string / null
customerId
Verified linked native customer ID, or null when no link is stored. обязательно по схеме · string / null
startAt
Stored startedAt, falling back to createdAt only when startedAt is absent. обязательно по схеме · null
finishAt
Stored endedAt, falling back to completedAt only when endedAt is absent. обязательно по схеме · null
durationSeconds
Stored nonnegative duration in seconds, or null when absent or malformed. Not calculated from timestamps. обязательно по схеме · number / null
Поля и технические схемы
Входные поля и поля ответа call_get
Вход · 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": "Exact existing canonical call ID returned by calls_search. A phone number, URL, path or another company cannot be supplied."
    }
  },
  "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 Calls document ID in the connected company."
    },
    "direction": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 160
        },
        {
          "type": "null"
        }
      ],
      "description": "Stored call direction. No direction is inferred from a phone number."
    },
    "status": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 160
        },
        {
          "type": "null"
        }
      ],
      "description": "Latest stored provider/business status; a queued or accepted status does not prove a completed call."
    },
    "customerId": {
      "anyOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 160,
          "pattern": "^[A-Za-z0-9_~:@+.-]+$"
        },
        {
          "type": "null"
        }
      ],
      "description": "Verified linked native customer ID, or null when no link is stored."
    },
    "startAt": {
      "anyOf": [
        {
          "$ref": "#/$defs/_mcp0"
        },
        {
          "type": "null"
        }
      ],
      "description": "Stored startedAt, falling back to createdAt only when startedAt is absent."
    },
    "finishAt": {
      "anyOf": [
        {
          "$ref": "#/$defs/_mcp0"
        },
        {
          "type": "null"
        }
      ],
      "description": "Stored endedAt, falling back to completedAt only when endedAt is absent."
    },
    "durationSeconds": {
      "anyOf": [
        {
          "type": "number",
          "minimum": 0
        },
        {
          "type": "null"
        }
      ],
      "description": "Stored nonnegative duration in seconds, or null when absent or malformed. Not calculated from timestamps."
    }
  },
  "required": [
    "callId",
    "direction",
    "status",
    "customerId",
    "startAt",
    "finishAt",
    "durationSeconds"
  ],
  "additionalProperties": false,
  "$defs": {
    "_mcp0": {
      "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))$"
    }
  }
}