aip_whoami
Display your current Agent Identity Protocol (AIP) credentials including DID, platform, and public key to verify agent identity.
Instructions
Show your current AIP identity — DID, platform, and public key.
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": "aip_whoami"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- aip_mcp_server/server.py:88-96 (handler)The implementation of the aip_whoami tool handler.
@mcp.tool() def aip_whoami() -> dict: """Show your current AIP identity — DID, platform, and public key.""" client = _load_client() return { "did": client.did, "public_key": client.public_key, "service_url": client.service_url, }