update_agent
Modify an agent's configuration fields such as name, voice, instructions, or voicemail. Only provided fields are updated; hosted mode requires a system prompt.
Instructions
Update an agent's configuration — name, description, voice settings, instructions, greeting, call transfer, or voicemail. Only provided fields are updated. Switching voice_mode to 'hosted' requires a system_prompt.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name for the agent | |
| voice | No | Voice ID for the agent. | |
| agent_id | Yes | The agent ID to update | |
| language | No | BCP-47 locale for speech recognition and synthesis, e.g. 'en-US', 'es-ES', 'ja-JP'. | |
| stt_mode | No | Speech-to-text mode: 'fast' lowest latency, 'accurate' for exact names/numbers (~200ms slower). | |
| model_tier | No | Model quality/speed tier for hosted-mode agents. 'turbo' = fastest/cheapest, 'balanced' = general use, 'max' = highest quality. | |
| voice_mode | No | 'webhook' forwards transcripts to your webhook. 'hosted' uses built-in AI with system_prompt. | |
| description | No | New description | |
| voice_speed | No | Speech speed multiplier. 1.0 = normal, 0.5 = half speed, 2.0 = double. | |
| ambient_sound | No | Optional background ambience for call audio. Not a substitute for the AI self-identification, which is always disclosed. | |
| begin_message | No | What the AI says when a call connects (hosted mode only). | |
| system_prompt | No | The AI's personality and instructions. Required when voice_mode is 'hosted'. | |
| denoising_mode | No | Audio denoising. The aggressive mode helps callers in cars/cafes (small surcharge). | |
| max_silence_ms | No | Hang up after this many ms of caller silence. Default 600000 (10 min). | |
| transfer_number | No | Phone number to transfer calls to (E.164 format), or empty string to remove. | |
| enable_messaging | No | Whether a hosted agent can send and read texts during a call. Default true. | |
| voicemail_message | No | Voicemail greeting text, or empty string to disable voicemail. | |
| enable_backchannel | No | Whether the agent interjects 'uh-huh'/'mhmm' while the caller speaks. Default true. | |
| interruption_sensitivity | No | How easily callers can interrupt (barge in). 0 = never, 1 = at first sound. Default 0.8. |