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

Голос · Агенты · Результат операции «календарь»

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

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

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

Это чтение. Выберите запись или задайте фильтры в доступной компании. Для поиска результата возьмите идентификатор из первоначальной попытки. Сохраните исходные аргументы. Прочитайте актуальную версию записи перед подготовкой запроса.

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

Recover the exact saved voice_agent_set_calendar result without repeating any calendar setting change.

Параметры запроса
agentId
Existing Voice Center agent ID in the selected company. обязательно по схеме · string
expectedRevision
Версия, прочитанная перед изменением. обязательно по схеме · string
enabled
Whether the agent may create caller-confirmed calendar appointments. обязательно по схеме · boolean
timezone
IANA business timezone; omit to preserve the existing timezone. необязательно · string · до символов 100
serviceBinding
Configure Service booking instead of generic CRM tasks. Omit to preserve the current binding; null clears it and selects generic tasks. необязательно · object / null
requestId
Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
Что вернёт команда
status
Whether the original setting change committed. обязательно по схеме · string · варианты committed, not_recorded
result
Immutable original result or null. обязательно по схеме · object / null
Поля и технические схемы
Входные поля и поля ответа voice_agent_get_calendar_result
Вход · 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."
    },
    "expectedRevision": {
      "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": {
      "description": "IANA business timezone; omit to preserve the existing timezone.",
      "type": "string",
      "minLength": 1,
      "maxLength": 100
    },
    "serviceBinding": {
      "description": "Configure Service booking instead of generic CRM tasks. Omit to preserve the current binding; null clears it and selects generic tasks.",
      "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"
        }
      ]
    },
    "requestId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{8,128}$",
      "description": "Stable idempotency key; reuse only with identical original arguments."
    }
  },
  "required": [
    "agentId",
    "expectedRevision",
    "enabled",
    "requestId"
  ],
  "additionalProperties": false
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "enum": [
        "committed",
        "not_recorded"
      ],
      "description": "Whether the original setting change committed."
    },
    "result": {
      "anyOf": [
        {
          "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."
            },
            "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."
            },
            "changed": {
              "type": "boolean",
              "description": "Whether the saved calendar settings changed."
            },
            "appliedFromRevision": {
              "type": "string",
              "pattern": "^fsv1:-?\\d{1,12}:\\d{1,9}$",
              "description": "Exact current agent revision returned by voice_agent_get_calendar."
            },
            "operation": {
              "type": "string",
              "const": "calendar_configured",
              "description": "Calendar settings committed without starting a call or creating an appointment."
            }
          },
          "required": [
            "agentId",
            "enabled",
            "timezone",
            "changed",
            "appliedFromRevision",
            "operation"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ],
      "description": "Immutable original result or null."
    }
  },
  "required": [
    "status",
    "result"
  ],
  "additionalProperties": false
}