agents_update
Modify an existing agent's model, instructions, system prompt, role, or connected knowledge bases, memory stores, and agent teams by key to keep configurations current.
Instructions
Update an existing agent
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": {
"key": "<key>"
},
"name": "agents_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Agent key | |
| role | No | New role | |
| model | No | New model ID | |
| description | No | New description | |
| instructions | No | New instructions | |
| settings_json | No | JSON for settings | |
| system_prompt | No | New system prompt | |
| memory_stores_json | No | JSON array | |
| team_of_agents_json | No | JSON array | |
| knowledge_bases_json | No | JSON array |