Update agent
update_agentUpdate an agent's name, system-style description (role instructions), and/or whether it can read and write project data itself. Get agent ids from list_agents. At least one of name, description or enableProjectTool is required.
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": {
"spaceId": "<spaceId>",
"agentId": "<agentId>"
},
"name": "update_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New display name | |
| agentId | Yes | Agent ID from `list_agents` | |
| spaceId | Yes | Space ID | |
| description | No | New system-style role instructions (AgentData.description), e.g. "You are an SDR..." | |
| enableProjectTool | No | Give (true) or take away (false) this agent's own project read/write tool. Enabling also turns knowledge on, which the tool requires. Needed before `prompt_agent` can have the agent change project data. |