Коммуникации · Чтение
Голос · Агенты · Просмотр · Календарь
voice_agent_get_calendar
Попробуйте три запроса
Получить данные
- Вы указываетеAgentid
- ПомощникЧтение
- Вы получаетеПоля ответа
Запрос в чат
Для задачи «Голос / Агенты / Просмотр / Календарь» выполни чтение по выбранной записи (agentId). Выведи кратко: agentId, версия записи.
- agentId
- Поле ответа
- revision
- Версия записи
- enabled
- Включение
Задать параметры
- Вы указываетеAgentid
- ПомощникСверка выбора
- Вы получаетеТочный объект
Запрос в чат
Покажи, как получить «Голос / Агенты / Просмотр / Календарь» на учебном примере с agentId = DEMO-101. Объясни, какие ещё данные нужны и как будет выглядеть ответ.
- agentId
- DEMO-101
Разобрать ответ
- Вы указываетеПолученный ответ
- ПомощникРазбор значений
- Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Голос / Агенты / Просмотр / Календарь» объясни agentId, версия записи. Отметь отсутствующие значения.
- agentId
- Поле ответа
- revision
- Версия записи
- enabled
- Включение
Как работает действие
Это чтение. Выберите запись или задайте фильтры в доступной компании.
Описание разработчика
Read the native calendar capability and business timezone of an existing Voice Center agent. Reports both saved settings and runtime tools so divergent flags are visible. Does not read customer calendar records or call anyone.
Параметры запроса
- agentId
- Existing Voice Center agent ID in the selected company. обязательно по схеме · string
Что вернёт команда
- agentId
- Existing Voice Center agent ID in the selected company. обязательно по схеме · string
- revision
- Exact current agent revision returned by voice_agent_get_calendar. обязательно по схеме · string
- enabled
- Whether the agent may create caller-confirmed calendar appointments. обязательно по схеме · boolean
- timezone
- IANA business timezone used to interpret calendar dates. обязательно по схеме · string · до символов 100
- serviceBinding
- Current native Service binding, or null for generic tasks. обязательно по схеме · object / null
- voiceCenter
- Whether this is a configured Voice Center agent. обязательно по схеме · boolean
- settingsEnabled
- Calendar capability in native agent settings. обязательно по схеме · boolean
- runtimeEnabled
- Calendar capability in the native runtime tool list. обязательно по схеме · boolean
Поля и технические схемы

Вход · 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 Center agent ID in the selected 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 Center agent ID in the selected company."
},
"revision": {
"type": "string",
"pattern": "^fsv1:-?\\d{1,12}:\\d{1,9}$",
"description": "Exact current agent revision returned by voice_agent_get_calendar."
},
"enabled": {
"type": "boolean",
"description": "Whether the agent may create caller-confirmed calendar appointments."
},
"timezone": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"description": "IANA business timezone used to interpret calendar dates."
},
"serviceBinding": {
"anyOf": [
{
"type": "object",
"properties": {
"establishmentId": {
"type": "string",
"pattern": "^(?!\\.{1,2}$)[A-Za-z0-9_~:@+.-]{1,160}$",
"description": "Existing company establishment."
},
"employeeId": {
"type": "string",
"pattern": "^(?!\\.{1,2}$)[A-Za-z0-9_~:@+.-]{1,160}$",
"description": "Existing native Service employee."
},
"productId": {
"type": "string",
"pattern": "^(?!\\.{1,2}$)[A-Za-z0-9_~:@+.-]{1,160}$",
"description": "Existing native service product."
},
"durationMinutes": {
"type": "integer",
"minimum": 5,
"maximum": 1440,
"description": "Confirmed service duration in minutes."
}
},
"required": [
"establishmentId",
"employeeId",
"productId",
"durationMinutes"
],
"additionalProperties": false,
"description": "Native Service calendar: selected establishment, staff member and service. Native availability, price and customer confirmation remain required."
},
{
"type": "null"
}
],
"description": "Current native Service binding, or null for generic tasks."
},
"voiceCenter": {
"type": "boolean",
"description": "Whether this is a configured Voice Center agent."
},
"settingsEnabled": {
"type": "boolean",
"description": "Calendar capability in native agent settings."
},
"runtimeEnabled": {
"type": "boolean",
"description": "Calendar capability in the native runtime tool list."
}
},
"required": [
"agentId",
"revision",
"enabled",
"timezone",
"serviceBinding",
"voiceCenter",
"settingsEnabled",
"runtimeEnabled"
],
"additionalProperties": false
}