Edit an AI agent
update_agentReplace editable settings of an owned agent; includes schedule settings. Voice agents use their dedicated UI. Returns awaiting_confirmation and an approval_url: the owner must approve these exact parameters in Cormak, then retry with the SAME request_id. No work starts before approval. Reuse request_id on retries.
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": {
"request_id": "<request_id>",
"agent_id": "<agent_id>",
"agent": "<agent>"
},
"name": "update_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | Yes | ||
| agent_id | Yes | ||
| request_id | Yes | Stable UUID for this exact operation. Reuse on retries. Never change it to retry an unknown result. |