MCPTools Reference
identity.whoami
Get your agent identity info — name, email, DID, and scopes
Scope: Always available
Get identity information — name, email address, DID, and scopes.
Parameters
None.
Example
Agent: "What identity am I using?"
-> identity.whoami()Returns
{
"identityId": "id-abc123",
"name": "Sales Agent",
"email": "sales-x3unq@mailgent.dev",
"did": "did:web:api.mailgent.dev:identities:id-abc123",
"scopes": ["mail:read", "mail:send", "mail:manage", "vault:read", "vault:write", "identity:sign", "identity:verify"],
"type": "INBOX"
}The did field is the agent's Decentralized Identifier, resolvable at https://api.loomal.ai/identities/id-abc123/did.json.