Коммуникации · Изменение
Звонки · Запуск · ИИ
calls_start_ai
Попробуйте три запроса
Подготовить
- Вы указываетеКлиент
- ПомощникПодготовка
- Вы получаетеПредпросмотр
Запрос в чат
Подготовь «Звонки / Запуск / ИИ». Для изменения нужны клиент, contactPointId. Покажи объект и ожидаемый эффект до выполнения.
- customerId
- Клиент
- contactPointId
- Параметр
- record
- Параметр
Применить
- Вы указываетеСогласованные значения
- ПомощникОдин вызов
- Вы получаетеОтвет операции
Запрос в чат
На учебной записи подготовь «Звонки / Запуск / ИИ» с параметром conversationPreset = responsive. Покажи остальные обязательные значения и выполни действие, когда согласованы все поля.
- conversationPreset
- responsive
- toolPreset
- none
- customerId
- DEMO-101
Проверить итог
- Вы указываетеИсходный ответ
- ПомощникСверка результата
- Вы получаетеПодтверждение
Запрос в чат
Проверь результат «Звонки / Запуск / ИИ» по исходному ответу. Покажи звонок, режим. Объясни, чем подтвердить эффект для выбранного объекта.
- ЗапросСохранить исходный ключ
- ОтветПроверить статус
- ПроверкаСверить эффект операции
Как работает действие
Этот вызов может изменить рабочие данные. Согласуйте точный объект, новые значения и ожидаемый результат. Присвойте операции стабильный requestId. При повторе той же операции используйте прежний ключ и те же значения.
Описание разработчика
Start one outbound call through the existing company VoiceAgent and Twilio runtime. Resolves the recipient server-side, uses the existing approved voice/source binding, optionally records, and delegates only selected currently permitted voice-safe MCP actions. Runtime and provider callbacks own progress; accepted is not completed.
Параметры запроса
- customerId
- Идентификатор клиента, выбранного по результату поиска. обязательно по схеме · string · до символов 128
- contactPointId
- Exact current telephone fingerprint from customer_contacts; the server resolves the stored number. обязательно по схеме · string
- record
- Request native recording. Requires calls.record; recording does not exist until its callback and storage finish. обязательно по схеме · boolean · по умолчанию true
- requestId
- Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
- voiceAgentId
- Existing enabled company VoiceAgent. Its approved voice/source binding is used; no caller-provided voice or source number. обязательно по схеме · string · до символов 128
- goal
- Purpose and questions for this one call. обязательно по схеме · string · до символов 1200
- conversationPreset
- responsive: concise live conversation with background tool delegation, low backend deliberation and a bounded silence recovery; does not grant tools. Agent connections default to responsive for new calls. configured preserves the saved conversation policy. Existing calls retain their original preset. необязательно · string · варианты responsive, configured
- toolPreset
- service_receptionist selects permitted native catalog, staff, slots, caller-bound booking, full-balance payment link and caller-requested transactional delivery tools. Check calls_get_ai_options; missing authority or company integrations are not granted by a preset. A created booking is not proof of payment. Agent MCP uses this when neither preset nor toolNames is supplied. none disables automatic selection. необязательно · string · варианты none, service_receptionist
- toolNames
- Additional explicitly delegated allowed voice-safe actions. In Agent MCP omit this field to use service_receptionist; explicit [] with no preset is a voice-only test. Sensitive and call-start actions remain excluded. обязательно по схеме · array · по умолчанию [] · до элементов 24
Что вернёт команда
- callId
- Canonical Calls ID returned by an MCP call start. No phone number or provider URL is accepted. обязательно по схеме · string
- mode
- Requested native telephony mode. обязательно по схеме · string · варианты human_bridge, ai
- status
- Stored call state. Accepted or ringing is not a completed conversation. обязательно по схеме · string · до символов 100
- dispatchState
- Protected dispatch state. An uncertain provider request must never be redialed automatically. обязательно по схеме · string · варианты prepared, dispatching, accepted, uncertain, failed, canceled
- ended
- Whether the current stored call status is terminal. обязательно по схеме · boolean
- preparationFailure
- Known pre-dispatch failure, or null. No provider credentials or private responses. обязательно по схеме · object / null
- recording
- Native recording request and persistence state. обязательно по схеме · object
- durationSeconds
- Stored native duration, or null if absent. обязательно по схеме · number / null
- recovery
- Deterministic next step; retry is offered only before the native dispatch claim. обязательно по схеме · string · варианты retry_same_request, read_status, complete
Поля и технические схемы

Вход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"customerId": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[A-Za-z0-9_~:@+.-]+$",
"description": "Customer ID resolved in the current company."
},
"contactPointId": {
"type": "string",
"pattern": "^cp_[a-f0-9]{64}$",
"description": "Exact current telephone fingerprint from customer_contacts; the server resolves the stored number."
},
"record": {
"default": true,
"description": "Request native recording. Requires calls.record; recording does not exist until its callback and storage finish.",
"type": "boolean"
},
"requestId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,128}$",
"description": "Stable request ID for this exact call; always reuse after an uncertain response."
},
"voiceAgentId": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[A-Za-z0-9_~:@+.-]+$",
"description": "Existing enabled company VoiceAgent. Its approved voice/source binding is used; no caller-provided voice or source number."
},
"goal": {
"type": "string",
"minLength": 1,
"maxLength": 1200,
"description": "Purpose and questions for this one call."
},
"conversationPreset": {
"description": "responsive: concise live conversation with background tool delegation, low backend deliberation and a bounded silence recovery; does not grant tools. Agent connections default to responsive for new calls. configured preserves the saved conversation policy. Existing calls retain their original preset.",
"type": "string",
"enum": [
"responsive",
"configured"
]
},
"toolPreset": {
"description": "service_receptionist selects permitted native catalog, staff, slots, caller-bound booking, full-balance payment link and caller-requested transactional delivery tools. Check calls_get_ai_options; missing authority or company integrations are not granted by a preset. A created booking is not proof of payment. Agent MCP uses this when neither preset nor toolNames is supplied. none disables automatic selection.",
"type": "string",
"enum": [
"none",
"service_receptionist"
]
},
"toolNames": {
"default": [],
"description": "Additional explicitly delegated allowed voice-safe actions. In Agent MCP omit this field to use service_receptionist; explicit [] with no preset is a voice-only test. Sensitive and call-start actions remain excluded.",
"maxItems": 24,
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]{1,100}$"
}
}
},
"required": [
"customerId",
"contactPointId",
"record",
"requestId",
"voiceAgentId",
"goal",
"toolNames"
],
"additionalProperties": false
}Выход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"callId": {
"type": "string",
"pattern": "^mcp_call_[a-f0-9]{64}$",
"description": "Canonical Calls ID returned by an MCP call start. No phone number or provider URL is accepted."
},
"mode": {
"type": "string",
"enum": [
"human_bridge",
"ai"
],
"description": "Requested native telephony mode."
},
"status": {
"type": "string",
"maxLength": 100,
"description": "Stored call state. Accepted or ringing is not a completed conversation."
},
"dispatchState": {
"type": "string",
"enum": [
"prepared",
"dispatching",
"accepted",
"uncertain",
"failed",
"canceled"
],
"description": "Protected dispatch state. An uncertain provider request must never be redialed automatically."
},
"ended": {
"type": "boolean",
"description": "Whether the current stored call status is terminal."
},
"preparationFailure": {
"anyOf": [
{
"type": "object",
"properties": {
"stage": {
"type": "string",
"maxLength": 40,
"description": "Failed native preparation phase, before any dial."
},
"code": {
"type": "string",
"maxLength": 100,
"description": "Sanitized native setup error code."
}
},
"required": [
"stage",
"code"
],
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "Known pre-dispatch failure, or null. No provider credentials or private responses."
},
"recording": {
"type": "object",
"properties": {
"requested": {
"type": "boolean",
"description": "Whether recording was requested for this call."
},
"status": {
"type": "string",
"maxLength": 100,
"description": "Native recording callback/storage status."
},
"available": {
"type": "boolean",
"description": "True only when a completed native recording has a stored media object."
}
},
"required": [
"requested",
"status",
"available"
],
"additionalProperties": false,
"description": "Native recording request and persistence state."
},
"durationSeconds": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
],
"description": "Stored native duration, or null if absent."
},
"recovery": {
"type": "string",
"enum": [
"retry_same_request",
"read_status",
"complete"
],
"description": "Deterministic next step; retry is offered only before the native dispatch claim."
}
},
"required": [
"callId",
"mode",
"status",
"dispatchState",
"ended",
"preparationFailure",
"recording",
"durationSeconds",
"recovery"
],
"additionalProperties": false
}