Голос · Агенты · Активация · Черновики
voice_agent_activate_draft
Попробуйте три запроса
- Вы указываетеAgentid
- ПомощникПодготовка
- Вы получаетеПредпросмотр
Подготовь «Голос / Агенты / Активация / Черновики». Для изменения нужны agentId, voiceId. Покажи объект и ожидаемый эффект до выполнения.
- agentId
- Параметр
- voiceId
- Параметр
- fromNumber
- Параметр
- Вы указываетеСогласованные значения
- ПомощникОдин вызов
- Вы получаетеОтвет операции
На учебной записи подготовь «Голос / Агенты / Активация / Черновики» с параметром voiceId = 0ArNnoIAWKlT4WweaVMY. Покажи остальные обязательные значения и выполни действие, когда согласованы все поля.
- voiceId
- 0ArNnoIAWKlT4WweaVMY
- Вы указываетеИсходный ответ
- ПомощникСверка результата
- Вы получаетеПодтверждение
Проверь результат «Голос / Агенты / Активация / Черновики» по исходному ответу. Покажи agentId, тип операции. Объясни, чем подтвердить эффект для выбранного объекта.
- До измененияПрочитать версию
- При записиПередать выбранную версию
- После ответаПеречитать объект
Как работает действие
Этот вызов может изменить рабочие данные. Согласуйте точный объект, новые значения и ожидаемый результат. Присвойте операции стабильный requestId. При повторе той же операции используйте прежний ключ и те же значения. Прочитайте актуальную версию записи перед подготовкой запроса.
Описание разработчика
Activate one protected MCP-created disabled voice draft with a supported native platform-library voice and verified company or agency telephone. Omit fromNumber to use the current default; an explicit number is validated without substitution. Provider keys inherit the authorized agency connection when the company has no own configuration. Server-only provider GET checks confirm the current shared voice owner and company account/number; private/unlisted voices are unavailable. Requires exact draft revision, voice-agent update and integration management. Atomically commits native enabled/voice/phone fields plus a protected binding and immutable receipt. No call, phone purchase, voice creation, audio generation, recording, tools or Flow execution. For uncertain responses use voice_agent_get_activation_result with the exact original arguments.
Параметры запроса
- agentId
- Canonical draft ID returned by voice_agent_create_draft. Native agents without a protected MCP creation receipt are outside this activation contract. обязательно по схеме · string
- expectedRevision
- Версия, прочитанная перед изменением. обязательно по схеме · string
- voiceId
- Explicit native shared-library voice: 0ArNnoIAWKlT4WweaVMY (Elena Gromova); YjESejviApN7SHrbfnA2 (Nastya); sNQyZH8Wfcnv7zh3rHxR (Marusya Customer Care). Private and unlisted provider voices are not exposed. обязательно по схеме · string · варианты 0ArNnoIAWKlT4WweaVMY, YjESejviApN7SHrbfnA2, sNQyZH8Wfcnv7zh3rHxR
- fromNumber
- Optional E.164 source number. When omitted, resolve the current verified company telephone or its authorized agency default. Explicit values are never replaced and must pass ownership checks. No number purchase or call. необязательно · string
- requestId
- Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
Что вернёт команда
- agentId
- Canonical draft ID returned by voice_agent_create_draft. Native agents without a protected MCP creation receipt are outside this activation contract. обязательно по схеме · string
- operation
- Protected provider bindings and enabled=true committed. No phone call or audio generation was performed. обязательно по схеме · string
- voiceId
- Verified approved platform-library voice identifier. обязательно по схеме · string
- fromNumber
- Verified source number owned by the configured company Twilio account. обязательно по схеме · string
- voicePolicyVersion
- Approved voice-library policy used by both activation and runtime. обязательно по схеме · string
- appliedFromRevision
- Exact current update-time revision from voice_agent_get. Any intervening draft change conflicts. обязательно по схеме · string
- activatedAt
- Server timestamp of this immutable activation result. обязательно по схеме · string
Поля и технические схемы

Вход · 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 draft ID returned by voice_agent_create_draft. Native agents without a protected MCP creation receipt are outside this activation contract."
},
"expectedRevision": {
"type": "string",
"pattern": "^fsv1:-?\\d{1,12}:\\d{1,9}$",
"description": "Exact current update-time revision from voice_agent_get. Any intervening draft change conflicts."
},
"voiceId": {
"type": "string",
"enum": [
"0ArNnoIAWKlT4WweaVMY",
"YjESejviApN7SHrbfnA2",
"sNQyZH8Wfcnv7zh3rHxR"
],
"description": "Explicit native shared-library voice: 0ArNnoIAWKlT4WweaVMY (Elena Gromova); YjESejviApN7SHrbfnA2 (Nastya); sNQyZH8Wfcnv7zh3rHxR (Marusya Customer Care). Private and unlisted provider voices are not exposed."
},
"fromNumber": {
"description": "Optional E.164 source number. When omitted, resolve the current verified company telephone or its authorized agency default. Explicit values are never replaced and must pass ownership checks. No number purchase or call.",
"type": "string",
"pattern": "^\\+[1-9][0-9]{6,14}$"
},
"requestId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,128}$",
"description": "Stable ID for these exact activation arguments. Reuse unchanged after an uncertain response."
}
},
"required": [
"agentId",
"expectedRevision",
"voiceId",
"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 draft ID returned by voice_agent_create_draft. Native agents without a protected MCP creation receipt are outside this activation contract."
},
"operation": {
"type": "string",
"const": "activated",
"description": "Protected provider bindings and enabled=true committed. No phone call or audio generation was performed."
},
"voiceId": {
"type": "string",
"description": "Verified approved platform-library voice identifier."
},
"fromNumber": {
"type": "string",
"description": "Verified source number owned by the configured company Twilio account."
},
"voicePolicyVersion": {
"type": "string",
"description": "Approved voice-library policy used by both activation and runtime."
},
"appliedFromRevision": {
"type": "string",
"pattern": "^fsv1:-?\\d{1,12}:\\d{1,9}$",
"description": "Exact current update-time revision from voice_agent_get. Any intervening draft change conflicts."
},
"activatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "Server timestamp of this immutable activation result."
}
},
"required": [
"agentId",
"operation",
"voiceId",
"fromNumber",
"voicePolicyVersion",
"appliedFromRevision",
"activatedAt"
],
"additionalProperties": false
}