update_inbound_assistant
Update an inbound voice assistant after reading it and explicitly confirming the exact change. Pass the opaque revision from get_inbound_assistant with either systemPrompt text or systemPromptId selection. Text creates an assistant-local prompt without mutating a shared library prompt. For transient assistants it applies to new calls. For permanent assistants it is allowed only when WhatsApp routes on active integrations are listed, applies only to new WhatsApp LiveKit calls, and leaves the provider-hosted phone prompt unchanged; archived integrations do not qualify, while a disabled call config remains visible with enabled=false. Permanent assistants without qualifying WhatsApp routes return UNSUPPORTED_CONFIG_MODE. systemPrompt and systemPromptId are mutually exclusive. Use update_whatsapp_agent for TEXT CHAT prompts.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"assistantId": "<assistantId>",
"confirmed": "<confirmed>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "update_inbound_assistant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| confirmed | Yes | Must be true only after the user explicitly confirms this exact operation | |
| assistantId | Yes | ||
| systemPrompt | No | ||
| idempotencyKey | Yes | A unique identifier generated once for this intended write. Reuse exactly when retrying. | |
| systemPromptId | No | ||
| expectedRevision | No | Opaque revision from get_inbound_assistant; echo it unchanged |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| success | No |