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

Голос · Агенты · Просмотр · Подключения

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

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

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

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

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

Read the current enabled flag, voice ID, source telephone and revision of any existing company voice agent. These are native saved settings, independent of old MCP activation receipts. Does not call providers or prove delivery. Use the exact revision with voice_agent_set_connection.

Параметры запроса
agentId
Existing company voice agent document ID. обязательно по схеме · string
Что вернёт команда
agentId
Existing company voice agent document ID. обязательно по схеме · string
revision
Exact revision returned by the most recent voice agent read. обязательно по схеме · string
enabled
Saved enabled state. обязательно по схеме · boolean
voiceId
Current voice ID, or null when unconfigured. обязательно по схеме · string / null
fromNumber
Current source telephone, or null when unconfigured. обязательно по схеме · string / null
Поля и технические схемы
Входные поля и поля ответа voice_agent_get_connection
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "agentId": {
      "type": "string",
      "pattern": "^(?!\\.{1,2}$)[A-Za-z0-9_~:@+.-]{1,160}$",
      "description": "Existing company voice agent document ID."
    }
  },
  "required": [
    "agentId"
  ],
  "additionalProperties": false
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "agentId": {
      "type": "string",
      "pattern": "^(?!\\.{1,2}$)[A-Za-z0-9_~:@+.-]{1,160}$",
      "description": "Existing company voice agent document ID."
    },
    "revision": {
      "type": "string",
      "pattern": "^fsv1:-?\\d{1,12}:\\d{1,9}$",
      "description": "Exact revision returned by the most recent voice agent read."
    },
    "enabled": {
      "type": "boolean",
      "description": "Saved enabled state."
    },
    "voiceId": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^[A-Za-z0-9]{10,64}$",
          "description": "Verified platform-library voice ID."
        },
        {
          "type": "null"
        }
      ],
      "description": "Current voice ID, or null when unconfigured."
    },
    "fromNumber": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\+[1-9]\\d{6,14}$",
          "description": "Company source telephone in E.164 format."
        },
        {
          "type": "null"
        }
      ],
      "description": "Current source telephone, or null when unconfigured."
    }
  },
  "required": [
    "agentId",
    "revision",
    "enabled",
    "voiceId",
    "fromNumber"
  ],
  "additionalProperties": false
}