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

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

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

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

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

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

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

Partially edit an existing Voice Center agent through the native authoring service. To initialize a legacy agent as Voice Center, explicitly supply engine and voice so conversion cannot silently change its provider. Requires its exact revision from voice_center_agent_get. To toggle future call audio recording, set values.recordingEnabled to false or true. Pass only that field to change recording without touching the calendar, prompt, voice, call routing, or activation. Omission preserves the current setting. It does not affect active calls or existing recordings. Omitted settings and Service calendar bindings are preserved; supplied arrays replace their fields. Native action permissions, provider checks and plan limits apply. No call or message is started. A browser session and old activation receipt are not required.

Параметры запроса
agentId
Native agentId value; use the value and type returned by the corresponding service. обязательно по схеме · string
expectedRevision
Версия, прочитанная перед изменением. обязательно по схеме · string
values
Значения для записи. Состав и вложенность указаны в схеме. обязательно по схеме · object
requestId
Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
Что вернёт команда
companyId
Native companyId value; use the value and type returned by the corresponding service. обязательно по схеме · string
Поля и технические схемы
Входные поля и поля ответа voice_center_agent_update
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "agentId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{1,160}$",
      "description": "Native agentId value; use the value and type returned by the corresponding service."
    },
    "expectedRevision": {
      "type": "string",
      "pattern": "^fsv1:-?\\d{1,12}:\\d{1,9}$",
      "description": "Native expectedRevision value; use the value and type returned by the corresponding service."
    },
    "values": {
      "type": "object",
      "properties": {
        "name": {
          "description": "Native name value; use the value and type returned by the corresponding service.",
          "type": "string",
          "minLength": 1,
          "maxLength": 80
        },
        "role": {
          "description": "Native role value; use the value and type returned by the corresponding service.",
          "type": "string",
          "maxLength": 160
        },
        "language": {
          "description": "Native language value; use the value and type returned by the corresponding service.",
          "type": "string",
          "enum": [
            "ru",
            "en",
            "es",
            "auto"
          ]
        },
        "greeting": {
          "description": "Native greeting value; use the value and type returned by the corresponding service.",
          "type": "string",
          "maxLength": 1500
        },
        "prompt": {
          "description": "Native prompt value; use the value and type returned by the corresponding service.",
          "type": "string",
          "maxLength": 16000
        },
        "active": {
          "description": "Native active value; use the value and type returned by the corresponding service.",
          "type": "boolean"
        },
        "recordingEnabled": {
          "description": "Native recordingEnabled value; use the value and type returned by the corresponding service.",
          "type": "boolean"
        },
        "engine": {
          "description": "Native engine value; use the value and type returned by the corresponding service.",
          "type": "string",
          "enum": [
            "gpt-live",
            "openai-elevenlabs"
          ]
        },
        "voice": {
          "description": "Native voice value; use the value and type returned by the corresponding service.",
          "type": "string",
          "maxLength": 160
        },
        "settings": {
          "description": "Native settings value; use the value and type returned by the corresponding service.",
          "type": "object",
          "properties": {
            "billingMode": {
              "description": "Native billingMode value; use the value and type returned by the corresponding service.",
              "type": "string",
              "enum": [
                "managed",
                "own_keys"
              ]
            },
            "timezone": {
              "description": "Native timezone value; use the value and type returned by the corresponding service.",
              "type": "string",
              "maxLength": 100
            },
            "schedule": {
              "description": "Native schedule value; use the value and type returned by the corresponding service.",
              "maxItems": 7,
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "day": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 6,
                    "description": "Native day value; use the value and type returned by the corresponding service."
                  },
                  "enabled": {
                    "type": "boolean",
                    "description": "Native enabled value; use the value and type returned by the corresponding service."
                  },
                  "start": {
                    "type": "string",
                    "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
                    "description": "Native start value; use the value and type returned by the corresponding service."
                  },
                  "end": {
                    "type": "string",
                    "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
                    "description": "Native end value; use the value and type returned by the corresponding service."
                  }
                },
                "required": [
                  "day",
                  "enabled",
                  "start",
                  "end"
                ],
                "additionalProperties": false
              }
            },
            "actions": {
              "description": "Native actions value; use the value and type returned by the corresponding service.",
              "maxItems": 7,
              "type": "array",
              "items": {
                "type": "string",
                "enum": [
                  "lead",
                  "calendar",
                  "task",
                  "call",
                  "sms",
                  "flow",
                  "transfer"
                ]
              }
            },
            "flowId": {
              "description": "Native flowId value; use the value and type returned by the corresponding service.",
              "type": "string",
              "pattern": "^[A-Za-z0-9_-]{1,160}$"
            },
            "transferUserIds": {
              "description": "Native transferUserIds value; use the value and type returned by the corresponding service.",
              "maxItems": 10,
              "type": "array",
              "items": {
                "type": "string",
                "pattern": "^[A-Za-z0-9_-]{1,160}$"
              }
            },
            "transferPhone": {
              "description": "Native transferPhone value; use the value and type returned by the corresponding service.",
              "type": "string",
              "pattern": "^\\+[1-9]\\d{7,14}$"
            },
            "ttsSpeed": {
              "description": "Native ttsSpeed value; use the value and type returned by the corresponding service.",
              "type": "number",
              "minimum": 0.7,
              "maximum": 1.4
            }
          },
          "additionalProperties": false
        }
      },
      "additionalProperties": false,
      "description": "Native values value; use the value and type returned by the corresponding service."
    },
    "requestId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{8,128}$",
      "description": "Stable request ID for these exact arguments. Keep it if the response is uncertain."
    }
  },
  "required": [
    "agentId",
    "expectedRevision",
    "values",
    "requestId"
  ],
  "additionalProperties": false
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "companyId": {
      "type": "string",
      "description": "Native companyId value; use the value and type returned by the corresponding service."
    }
  },
  "required": [
    "companyId"
  ],
  "additionalProperties": {}
}