Update agent
update_agentChange an existing voice agent's settings—such as name, voice, language, model, greeting, or system prompt—while editing the live draft and leaving unspecified fields unchanged.
Instructions
Change an agent. Only the fields you pass are modified. This edits the live draft.
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": {
"agent_id": "<agent_id>"
},
"name": "update_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| extra | No | Any other agent fields, passed through as-is | |
| agent_id | Yes | Agent id | |
| language | No | e.g. en-US | |
| voice_id | No | provider_voice_id from list_voices | |
| llm_model | No | ||
| first_message | No | What the agent says when the call connects | |
| system_prompt | No | What the agent is and how it should behave |