MCP Control
Коммуникации · Изменение

Голос · Агенты · Изменение · Конфигурация

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

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

Подготовить
  1. Вы указываетеAgentid
  2. ПомощникПодготовка
  3. Вы получаетеПредпросмотр
Запрос в чат
Подготовь «Голос / Агенты / Изменение / Конфигурация». Для изменения нужны agentId, изменяемые поля. Покажи объект и ожидаемый эффект до выполнения.
Что входит в подготовку
agentId
Параметр
values
Изменяемые поля
Применить
  1. Вы указываетеСогласованные значения
  2. ПомощникОдин вызов
  3. Вы получаетеОтвет операции
Запрос в чат
На учебной записи подготовь «Голос / Агенты / Изменение / Конфигурация» с параметром values.name = Осенняя коллекция. Покажи остальные обязательные значения и выполни действие, когда согласованы все поля.
Фрагмент учебных параметров
values.name
Осенняя коллекция
values.language
ru
agentId
DEMO-101
Проверить итог
  1. Вы указываетеИсходный ответ
  2. ПомощникСверка результата
  3. Вы получаетеПодтверждение
Запрос в чат
Проверь результат «Голос / Агенты / Изменение / Конфигурация» по исходному ответу. Покажи agentId, тип операции. Объясни, чем подтвердить эффект для выбранного объекта.
Как сверить изменение
  1. До измененияПрочитать версию
  2. При записиПередать выбранную версию
  3. После ответаПеречитать объект
Как работает действие

Этот вызов может изменить рабочие данные. Согласуйте точный объект, новые значения и ожидаемый результат. Присвойте операции стабильный requestId. При повторе той же операции используйте прежний ключ и те же значения. Прочитайте актуальную версию записи перед подготовкой запроса.

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

Partially update conversation settings of any existing company voice agent, created through MCP or the native cabinet, active or inactive. Authoring does not require a telephone/voice binding or integration-management permission. Omitted fields are preserved. Updates native fields and, when present, a current native runtime settings in one revision-checked transaction, with an immutable idempotency receipt. Does not change voice/phone ownership, permissions, recording, tools, Flow or current calls. Future calls load the updated native profile. Use voice_agent_get_configuration_result after an uncertain response.

Параметры запроса
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
Что вернёт команда
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
operation
Native conversation configuration and its receipt committed atomically. обязательно по схеме · string
changed
False for an exact no-op; a recovery receipt is still recorded. обязательно по схеме · boolean
appliedFromRevision
Exact Firestore revision from voice_agent_get_configuration. обязательно по схеме · string
Поля и технические схемы
Входные поля и поля ответа voice_agent_update_configuration
Вход · 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": {
    "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
}