update_agent_config
Update an AI agent's configuration including name, language, voice, model, and variables. Only provided fields change; versioned agents save as draft.
Instructions
Update an agent's configuration (name, language, first message, voice settings, model, variables, etc.). Only provided fields are updated. To update the agent's prompt/instructions, use update_agent_prompt instead. For versioned agents, changes are saved as a draft — use publish_draft to make them live, or test the draft first via make_call with the draft's version_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | The agent ID to update | |
| name | No | New agent name | |
| description | No | Agent description | |
| language | No | Language configuration | |
| first_message | No | First message when call starts (max 500 chars) | |
| synthesizer | No | Voice synthesizer configuration | |
| slm_model | No | Inference LLM model for the agent | |
| global_prompt | No | Global system prompt for the agent (max 4000 chars). This is separate from the workflow prompt updated via update_agent_prompt. | |
| default_variables | No | Default variables for the agent prompt. Example: { prospect_name: 'Default', company: 'Acme' } | |
| knowledge_base_id | No | Knowledge base ID to attach to the agent | |
| allow_inbound_call | No | Whether to allow inbound calls | |
| allow_interruptions | No | Whether to allow user interruptions | |
| wait_for_user_to_speak_first | No | Wait for user to speak before agent starts | |
| mute_user_until_first_bot_response | No | Mute user audio until the bot sends its first response | |
| interruption_backoff_timer | No | Delay in seconds before agent resumes after interruption (0-10) | |
| smart_turn_config | No | Smart turn detection configuration | |
| voice_detection_config | No | Voice activity detection configuration | |
| voicemail_detection | No | Voicemail detection configuration | |
| denoising_config | No | Audio denoising configuration | |
| llm_idle_timeout_config | No | LLM idle timeout configuration per call type | |
| session_timeout_config | No | Session timeout configuration | |
| background_sound | No | Background sound option | |
| speech_formatting | No | Enable speech formatting | |
| pronunciation_dicts | No | Custom pronunciation dictionary | |
| redaction_config | No | Redaction configuration | |
| call_disposition_config | No | Call disposition configuration prompt | |
| enable_style_guide | No | Enable conversational style guide | |
| telephony_product_ids | No | List of telephony product IDs (phone numbers) to assign to this agent |