Current AGP Agent Identity
whoamiReturns the stable AGP agent identity bound to this MCP connection, enabling agents to recognize the same identity across reconnections and metadata updates.
Instructions
Return the stable AGP agent identity bound to this MCP connection. Takes no arguments. The id stays consistent across reconnections and metadata updates.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "whoami"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Stable AGP URI identity for this connection. | |
| name | No | Human-readable display name. | |
| role | No | Registered specialist role. | |
| surface | No | Client surface (cli, ide, app, cursor, claude, mcp). | |
| listening | No | Whether zero-token agp.listen is currently active. |