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

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

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

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

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

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

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

Recover an exact active voice-agent configuration update using its unchanged original arguments, requestId and revision. Requires the original current permissions. Returns the immutable historical receipt even if the agent was later deactivated; no configuration change, activation, provider request or call is repeated. An absent receipt permits retrying only the same original request.

Параметры запроса
agentId
Existing company VoiceAgents document ID, created in the native cabinet or MCP. Activation and telephone binding are not required for conversation authoring. обязательно по схеме · string · до символов 160
expectedRevision
Версия, прочитанная перед изменением. обязательно по схеме · string
values
Значения для записи. Состав и вложенность указаны в схеме. обязательно по схеме · object
requestId
Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
Что вернёт команда
status
Whether the atomic configuration receipt exists. обязательно по схеме · string · варианты committed, not_recorded
result
Historical result, or null when not recorded. обязательно по схеме · object / null
Поля и технические схемы
Входные поля и поля ответа voice_agent_get_configuration_result
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "agentId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 160,
      "pattern": "^[A-Za-z0-9_~:@+.-]+$",
      "description": "Existing company VoiceAgents document ID, created in the native cabinet or MCP. Activation and telephone binding are not required for conversation authoring."
    },
    "expectedRevision": {
      "type": "string",
      "pattern": "^fsv1:-?\\d{1,12}:\\d{1,9}$",
      "description": "Exact Firestore revision from voice_agent_get_configuration."
    },
    "values": {
      "type": "object",
      "properties": {
        "name": {
          "description": "Human-readable name for the new company voice-agent draft. Omit to preserve the current setting.",
          "type": "string",
          "minLength": 1,
          "maxLength": 160
        },
        "prompt": {
          "description": "Instructions for the agent. Stored as text only; no code, tools or provider request is executed by creation. Omit to preserve the current setting.",
          "type": "string",
          "minLength": 1,
          "maxLength": 8000
        },
        "language": {
          "description": "Native language code, or auto for automatic language detection. Omit to preserve the current setting.",
          "anyOf": [
            {
              "type": "string",
              "maxLength": 20,
              "pattern": "^(?:auto|[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})?)$",
              "description": "Native language code, such as en or ru, or auto for automatic language detection. Defaults to the existing runtime value en."
            },
            {
              "type": "string",
              "const": "auto"
            }
          ]
        },
        "openingText": {
          "description": "Optional initial spoken sentence. Empty leaves the native opening feature disabled. Omit to preserve the current setting.",
          "type": "string",
          "maxLength": 700
        },
        "goodbyeText": {
          "description": "Optional closing sentence. Empty preserves the native empty goodbye default. Omit to preserve the current setting.",
          "type": "string",
          "maxLength": 700
        },
        "maxOutputTokens": {
          "description": "Existing native response token bound, 40 to 1200; default 220. Omit to preserve the current setting.",
          "type": "integer",
          "minimum": 40,
          "maximum": 1200
        },
        "temperature": {
          "description": "Existing native model temperature bound, 0 to 1.2; default 0.6. Omit to preserve the current setting.",
          "type": "number",
          "minimum": 0,
          "maximum": 1.2
        },
        "speechSpeed": {
          "description": "Existing native speech-speed range, 0.7 to 1.2; default 1. Omit to preserve the current setting.",
          "type": "number",
          "minimum": 0.7,
          "maximum": 1.2
        }
      },
      "additionalProperties": false,
      "description": "Supplied conversation fields only. Voice/phone bindings, activation, recording, tools, Flow, billing and provider fields cannot be changed here."
    },
    "requestId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{8,128}$",
      "description": "Stable identifier for this exact draft creation. Reuse unchanged arguments after a lost response."
    }
  },
  "required": [
    "agentId",
    "expectedRevision",
    "values",
    "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 atomic configuration receipt exists."
    },
    "result": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "agentId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 160,
              "pattern": "^[A-Za-z0-9_~:@+.-]+$",
              "description": "Existing company VoiceAgents document ID, created in the native cabinet or MCP. Activation and telephone binding are not required for conversation authoring."
            },
            "operation": {
              "type": "string",
              "const": "configuration_updated",
              "description": "Native conversation configuration and its receipt committed atomically."
            },
            "changed": {
              "type": "boolean",
              "description": "False for an exact no-op; a recovery receipt is still recorded."
            },
            "appliedFromRevision": {
              "type": "string",
              "pattern": "^fsv1:-?\\d{1,12}:\\d{1,9}$",
              "description": "Exact Firestore revision from voice_agent_get_configuration."
            }
          },
          "required": [
            "agentId",
            "operation",
            "changed",
            "appliedFromRevision"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ],
      "description": "Historical result, or null when not recorded."
    }
  },
  "required": [
    "status",
    "result"
  ],
  "additionalProperties": false
}