update_agent
Update an agent's instructions, tools, or description using its name or ID and a payload of new settings.
Instructions
Update an agent. Use agent_name (e.g. "TimeWeatherAgent") or agent_id. Pass payload with instructions, tools, description, etc. For "update TimeWeatherAgent instructions" use agent_name and payload: { instructions: "..." }.
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": {
"payload": "<payload>"
},
"name": "update_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | Yes | ||
| agent_id | No | ||
| agent_name | No |