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

Звонки · Поиск

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

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

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

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

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

Inspect existing company call lifecycle records. Returns compact status and timing only, with no recording URLs, transcripts, runtime snapshots or provider credentials. This action never places calls.

Параметры запроса
query
Поисковое выражение для этой операции. необязательно · string · до символов 120
limit
Максимальное число элементов на этой странице. обязательно по схеме · integer · по умолчанию 20 · минимум 1 · максимум 50
cursor
Продолжение из предыдущего ответа при тех же фильтрах. необязательно · string · до символов 236
Что вернёт команда
items
Записи, которые вернул этот запрос. обязательно по схеме · array
nextCursor
Курсор для получения следующей страницы. обязательно по схеме · string / null
Поля и технические схемы
Входные поля и поля ответа calls_search
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "query": {
      "description": "Case-insensitive name or text filter within the paginated result. Continue using nextCursor to search later records.",
      "type": "string",
      "maxLength": 120
    },
    "limit": {
      "default": 20,
      "description": "Maximum matching records returned, from 1 to 50. Large records may produce a shorter page; continue with nextCursor.",
      "type": "integer",
      "minimum": 1,
      "maximum": 50
    },
    "cursor": {
      "description": "Opaque continuation cursor returned by this same action and workspace. Do not construct one.",
      "type": "string",
      "maxLength": 236
    }
  },
  "required": [
    "limit"
  ],
  "additionalProperties": false
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "callId": {
            "type": "string",
            "description": "Canonical company Calls document identifier."
          },
          "direction": {
            "type": "string",
            "description": "Stored call direction."
          },
          "status": {
            "type": "string",
            "description": "Stored call lifecycle status."
          },
          "customerId": {
            "description": "Stored linked customer identifier if present.",
            "type": [
              "string",
              "null"
            ]
          },
          "startAt": {
            "$ref": "#/$defs/_mcp1"
          },
          "finishAt": {
            "$ref": "#/$defs/_mcp1"
          },
          "durationSeconds": {
            "description": "Stored call duration in seconds, or null when unavailable.",
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "callId",
          "direction",
          "status",
          "customerId",
          "startAt",
          "finishAt",
          "durationSeconds"
        ],
        "additionalProperties": false
      },
      "description": "Accessible matching records in this page; tenant and location restrictions have already been applied."
    },
    "nextCursor": {
      "description": "Continuation cursor, or null when no later records remain. An empty page can still have a cursor because inaccessible records are omitted.",
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "items",
    "nextCursor"
  ],
  "additionalProperties": false,
  "$defs": {
    "_mcp1": {
      "anyOf": [
        {
          "$ref": "#/$defs/_mcp0"
        },
        {
          "type": "null"
        }
      ],
      "description": "Stored event time represented in UTC, or null when absent."
    },
    "_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))$"
    }
  }
}