Update an agent (draft)
update_agentUpdates an agent's configuration as a draft by changing only supplied fields, while the live agent stays unchanged until the draft is published.
Instructions
Change an agent's configuration as a DRAFT: only the fields given are changed, on top of the existing draft (or the live config when there is none). The live agent keeps answering calls unchanged until publish_agent_version makes the draft live.
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 |
|---|---|---|---|
| llm | No | ||
| name | No | ||
| tags | No | ||
| tools | No | ||
| voice | No | ||
| agent_id | Yes | ||
| greeting | No | ||
| description | No | ||
| instructions | No | ||
| default_language | No | ||
| knowledge_base_ids | No |