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

Голос · Агенты · Просмотр · Инструменты

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

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

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

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

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

Read the effective MCP call tool policy and currently permitted service-receptionist tools. MCP callbacks use call-scoped tools; the legacy top-level toolsEnabled flag does not describe their effective tool access. Catalog, eligible staff and slots are loaded live in the selected company, never copied into the prompt. This is a configuration read, not proof of a phone call or booking.

Параметры запроса
agentId
Existing voice agent in the current company. обязательно по схеме · string
Что вернёт команда
agentId
Existing voice agent in the current company. обязательно по схеме · string
revision
Current agent revision from voice_agent_get_tools. обязательно по схеме · string
toolPreset
Default tool selection for future MCP calls when no explicit per-call selection is provided. Never grants permissions. обязательно по схеме · string · варианты none, service_receptionist
legacyToolsEnabled
Stored top-level flag only; MCP call delegation overrides it. обязательно по схеме · boolean / null
runtimeMode
Authenticated per-call native tools, including in Voice Center. Explicit per-call none or [] remains voice-only. обязательно по схеме · string
toolNames
Currently permitted native tools for the saved preset. обязательно по схеме · array
unavailable
Preset tools unavailable under current permissions/modules. обязательно по схеме · array
automaticBusinessContext
Whether live company/catalog context is available. обязательно по схеме · boolean
bookingToolsAvailable
Whether native slots, quote and confirmed-booking tools are all available. This does not promise a free slot. обязательно по схеме · boolean
Поля и технические схемы
Входные поля и поля ответа voice_agent_get_tools
Вход · 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 voice agent in the current company."
    }
  },
  "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 voice agent in the current company."
    },
    "revision": {
      "type": "string",
      "pattern": "^fsv1:-?\\d{1,12}:\\d{1,9}$",
      "description": "Current agent revision from voice_agent_get_tools."
    },
    "toolPreset": {
      "type": "string",
      "enum": [
        "none",
        "service_receptionist"
      ],
      "description": "Default tool selection for future MCP calls when no explicit per-call selection is provided. Never grants permissions."
    },
    "legacyToolsEnabled": {
      "description": "Stored top-level flag only; MCP call delegation overrides it.",
      "type": [
        "boolean",
        "null"
      ]
    },
    "runtimeMode": {
      "type": "string",
      "const": "call_scoped",
      "description": "Authenticated per-call native tools, including in Voice Center. Explicit per-call none or [] remains voice-only."
    },
    "toolNames": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Currently permitted native tools for the saved preset."
    },
    "unavailable": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Preset tools unavailable under current permissions/modules."
    },
    "automaticBusinessContext": {
      "type": "boolean",
      "description": "Whether live company/catalog context is available."
    },
    "bookingToolsAvailable": {
      "type": "boolean",
      "description": "Whether native slots, quote and confirmed-booking tools are all available. This does not promise a free slot."
    }
  },
  "required": [
    "agentId",
    "revision",
    "toolPreset",
    "legacyToolsEnabled",
    "runtimeMode",
    "toolNames",
    "unavailable",
    "automaticBusinessContext",
    "bookingToolsAvailable"
  ],
  "additionalProperties": false
}