agent_rename
Rename your agent ID to resolve mismatches or collisions, cascading the new ID across all memory, tasks, messages, and sessions.
Instructions
Rename yourself. Cascades the new ID across all memory, tasks, messages, and sessions.
Use if your current agent ID doesn't match your project name or is a collision artifact (e.g. "my-project-2"). Can only rename yourself, not other agents.
Args: new_id: Your new agent ID. Alphanumeric, hyphens and underscores allowed.
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": {
"new_id": "<new_id>"
},
"name": "agent_rename"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_id | Yes | Your new agent ID. Alphanumeric, hyphens and underscores allowed. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |