Rename Agent
agent_renameAssign a unique name to a detected agent or clear its custom name when the clear flag is true or the name is omitted.
Instructions
Assign a unique name to a detected agent, or clear its name when 'clear' is true or 'name' is omitted.
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": {
"target": "<target>"
},
"name": "agent_rename"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New unique agent name matching [a-z][a-z0-9_-]{0,31}. | |
| clear | No | Set true to clear the agent's custom name. | |
| target | Yes | Current agent name or hosting pane ID. |