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

Голос · Агенты · Изменение · Черновики

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

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

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

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

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

Update only supported conversation settings of an existing MCP-created disabled and unbound voice-agent draft. Use the current revision from voice_agent_get. Preserves omitted settings and unrelated native fields; derives openingEnabled from an explicitly supplied openingText. Refuses active agents, provider voice/telephone bindings and unsupported fields. Commits a durable receipt in the same transaction. No activation, call, provider, recording, tools or Flow execution. After uncertain response use voice_agent_get_operation with the exact original arguments.

Параметры запроса
agentId
Canonical MCP-created voice-agent draft ID from voice_agent_create_draft and voice_agent_get. Legacy/native agents have a separate setup contract. обязательно по схеме · string
expectedRevision
Версия, прочитанная перед изменением. обязательно по схеме · string
values
Значения для записи. Состав и вложенность указаны в схеме. обязательно по схеме · object
requestId
Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
Что вернёт команда
agentId
Canonical MCP-created voice-agent draft ID from voice_agent_create_draft and voice_agent_get. Legacy/native agents have a separate setup contract. обязательно по схеме · string
operation
An inert stored draft edit only; no provider request or call occurred. обязательно по схеме · string
changed
Whether any selected native conversation field changed. обязательно по схеме · boolean
appliedFromRevision
Revision checked for this historical committed update. Read voice_agent_get for the current revision. обязательно по схеме · string
Поля и технические схемы
Входные поля и поля ответа voice_agent_update_draft
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "agentId": {
      "type": "string",
      "pattern": "^agent_[a-f0-9]{64}$",
      "description": "Canonical MCP-created voice-agent draft ID from voice_agent_create_draft and voice_agent_get. Legacy/native agents have a separate setup contract."
    },
    "expectedRevision": {
      "type": "string",
      "pattern": "^fsv1:-?\\d{1,12}:\\d{1,9}$",
      "description": "Exact latest update-time revision returned by voice_agent_get. Any intervening native change conflicts."
    },
    "values": {
      "type": "object",
      "properties": {
        "name": {
          "description": "Human-readable name for the new company voice-agent draft. For edits, omit to preserve the stored value; creation defaults are not reapplied.",
          "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. For edits, omit to preserve the stored value; creation defaults are not reapplied.",
          "type": "string",
          "minLength": 1,
          "maxLength": 8000
        },
        "language": {
          "description": "Native language code, such as en or ru, or auto for automatic language detection. Defaults to the existing runtime value en. For edits, omit to preserve the stored value; creation defaults are not reapplied.",
          "type": "string",
          "maxLength": 20,
          "pattern": "^(?:auto|[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})?)$"
        },
        "openingText": {
          "description": "Optional initial spoken sentence. Empty leaves the native opening feature disabled. For edits, omit to preserve the stored value; creation defaults are not reapplied.",
          "type": "string",
          "maxLength": 700
        },
        "goodbyeText": {
          "description": "Optional closing sentence. Empty preserves the native empty goodbye default. For edits, omit to preserve the stored value; creation defaults are not reapplied.",
          "type": "string",
          "maxLength": 700
        },
        "maxOutputTokens": {
          "description": "Existing native response token bound, 40 to 1200; default 220. For edits, omit to preserve the stored value; creation defaults are not reapplied.",
          "type": "integer",
          "minimum": 40,
          "maximum": 1200
        },
        "temperature": {
          "description": "Existing native model temperature bound, 0 to 1.2; default 0.6. For edits, omit to preserve the stored value; creation defaults are not reapplied.",
          "type": "number",
          "minimum": 0,
          "maximum": 1.2
        },
        "speechSpeed": {
          "description": "Existing native speech-speed range, 0.7 to 1.2; default 1. For edits, omit to preserve the stored value; creation defaults are not reapplied.",
          "type": "number",
          "minimum": 0.7,
          "maximum": 1.2
        }
      },
      "additionalProperties": false,
      "description": "Only supplied supported conversation settings change. Omitted fields remain exactly stored; empty openingText also disables the opening sentence. No activation, voice/telephone binding, provider, recording, tools, Flow or billing controls."
    },
    "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",
      "pattern": "^agent_[a-f0-9]{64}$",
      "description": "Canonical MCP-created voice-agent draft ID from voice_agent_create_draft and voice_agent_get. Legacy/native agents have a separate setup contract."
    },
    "operation": {
      "type": "string",
      "const": "draft_updated",
      "description": "An inert stored draft edit only; no provider request or call occurred."
    },
    "changed": {
      "type": "boolean",
      "description": "Whether any selected native conversation field changed."
    },
    "appliedFromRevision": {
      "type": "string",
      "pattern": "^fsv1:-?\\d{1,12}:\\d{1,9}$",
      "description": "Revision checked for this historical committed update. Read voice_agent_get for the current revision."
    }
  },
  "required": [
    "agentId",
    "operation",
    "changed",
    "appliedFromRevision"
  ],
  "additionalProperties": false
}