Коммуникации · Изменение
Голос · Агенты · Создание · Черновики
voice_agent_create_draft
Попробуйте три запроса
Подготовить
- Вы указываетеНазвание
- ПомощникПодготовка
- Вы получаетеПредпросмотр
Запрос в чат
Подготовь «Голос / Агенты / Создание / Черновики». Для изменения нужны название, prompt. Покажи объект и ожидаемый эффект до выполнения.
- name
- Название
- prompt
- Параметр
- language
- Язык
Применить
- Вы указываетеСогласованные значения
- ПомощникОдин вызов
- Вы получаетеОтвет операции
Запрос в чат
На учебной записи подготовь «Голос / Агенты / Создание / Черновики» с параметром name = Осенняя коллекция. Покажи остальные обязательные значения и выполни действие, когда согласованы все поля.
- name
- Осенняя коллекция
- language
- ru
Проверить итог
- Вы указываетеИсходный ответ
- ПомощникСверка результата
- Вы получаетеПодтверждение
Запрос в чат
Проверь результат «Голос / Агенты / Создание / Черновики» по исходному ответу. Покажи agentId, agentName. Объясни, чем подтвердить эффект для выбранного объекта.
- ЗапросСохранить исходный ключ
- ОтветПроверить статус
- ПроверкаСверить эффект операции
Как работает действие
Этот вызов может изменить рабочие данные. Согласуйте точный объект, новые значения и ожидаемый результат. Присвойте операции стабильный requestId. При повторе той же операции используйте прежний ключ и те же значения.
Описание разработчика
Create a disabled company voice-agent configuration using verified native voice runtime defaults and bounded conversation settings. The transaction writes the complete flat configuration, generates the agent ID and preserves creation idempotency. Requires company-wide voice_agents.create access. Voice/phone binding and activation remain in authorized native setup; no call, provider request, recording, external tool or Flow runs.
Параметры запроса
- name
- Human-readable name for the new company voice-agent draft. обязательно по схеме · string · до символов 160
- prompt
- Instructions for the agent. Stored as text only; no code, tools or provider request is executed by creation. обязательно по схеме · string · до символов 8000
- language
- Язык результата или локализуемого значения согласно схеме. обязательно по схеме · string · по умолчанию "en" · до символов 20
- openingText
- Optional initial spoken sentence. Empty leaves the native opening feature disabled. обязательно по схеме · string · по умолчанию "" · до символов 700
- goodbyeText
- Optional closing sentence. Empty preserves the native empty goodbye default. обязательно по схеме · string · по умолчанию "" · до символов 700
- maxOutputTokens
- Existing native response token bound, 40 to 1200; default 220. обязательно по схеме · integer · по умолчанию 220 · минимум 40 · максимум 1200
- temperature
- Existing native model temperature bound, 0 to 1.2; default 0.6. обязательно по схеме · number · по умолчанию 0.6 · минимум 0 · максимум 1.2
- speechSpeed
- Existing native speech-speed range, 0.7 to 1.2; default 1. обязательно по схеме · number · по умолчанию 1 · минимум 0.7 · максимум 1.2
- requestId
- Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
Что вернёт команда
- agentId
- Canonical VoiceAgents document ID. Use voice_agent_get for its current stored configuration after creation. обязательно по схеме · string
- agentName
- Name of the draft when this creation committed. обязательно по схеме · string
- createdAt
- Timestamp of this committed creation; replay returns its original result. обязательно по схеме · string
- createdState
- Creation wrote enabled=false with empty voice and telephone bindings. This is a historical result, not a current runtime status. обязательно по схеме · string
- nextStep
- An authorized native setup must verify provider voice and telephone ownership before activation. MCP creation does not activate the agent or place a call. обязательно по схеме · string
Поля и технические схемы

Вход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 160,
"description": "Human-readable name for the new company voice-agent draft."
},
"prompt": {
"type": "string",
"minLength": 1,
"maxLength": 8000,
"description": "Instructions for the agent. Stored as text only; no code, tools or provider request is executed by creation."
},
"language": {
"default": "en",
"description": "Native language code, such as en or ru, or auto for automatic language detection. Defaults to the existing runtime value en.",
"type": "string",
"maxLength": 20,
"pattern": "^(?:auto|[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})?)$"
},
"openingText": {
"default": "",
"description": "Optional initial spoken sentence. Empty leaves the native opening feature disabled.",
"type": "string",
"maxLength": 700
},
"goodbyeText": {
"default": "",
"description": "Optional closing sentence. Empty preserves the native empty goodbye default.",
"type": "string",
"maxLength": 700
},
"maxOutputTokens": {
"default": 220,
"description": "Existing native response token bound, 40 to 1200; default 220.",
"type": "integer",
"minimum": 40,
"maximum": 1200
},
"temperature": {
"default": 0.6,
"description": "Existing native model temperature bound, 0 to 1.2; default 0.6.",
"type": "number",
"minimum": 0,
"maximum": 1.2
},
"speechSpeed": {
"default": 1,
"description": "Existing native speech-speed range, 0.7 to 1.2; default 1.",
"type": "number",
"minimum": 0.7,
"maximum": 1.2
},
"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": [
"name",
"prompt",
"language",
"openingText",
"goodbyeText",
"maxOutputTokens",
"temperature",
"speechSpeed",
"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 VoiceAgents document ID. Use voice_agent_get for its current stored configuration after creation."
},
"agentName": {
"type": "string",
"description": "Name of the draft when this creation committed."
},
"createdAt": {
"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": "Timestamp of this committed creation; replay returns its original result."
},
"createdState": {
"type": "string",
"const": "disabled_unbound_draft",
"description": "Creation wrote enabled=false with empty voice and telephone bindings. This is a historical result, not a current runtime status."
},
"nextStep": {
"type": "string",
"const": "configure_authorized_voice_and_phone_in_sabsus",
"description": "An authorized native setup must verify provider voice and telephone ownership before activation. MCP creation does not activate the agent or place a call."
}
},
"required": [
"agentId",
"agentName",
"createdAt",
"createdState",
"nextStep"
],
"additionalProperties": false
}