Update an AI agent
update_agentApply the same generic PATCH fields and validation as PATCH /v1/agents/{agent_id}; unknown fields retain REST's no-op compatibility behavior.
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 |
|---|---|---|---|
| mode | No | ||
| name | No | ||
| model | No | ||
| tools | No | Omit for a hosted agent to get the built-in end_call. A list is taken as written; an empty list creates an agent that cannot end a call. | |
| voice | No | ||
| status | No | ||
| agent_id | Yes | ||
| language | No | ||
| metadata | No | ||
| transcriber | No | ||
| translation | No | ||
| webhook_url | No | ||
| call_summary | No | The free AI call summary: enabled (default true) and an optional goal line (at most 4000 characters) the call is judged against. | |
| begin_message | No | ||
| first_message | No | ||
| system_prompt | No | ||
| audio_stream_url | No | ||
| recording_enabled | No | ||
| component_credential_bindings | No |