whoami
Verify your API token and retrieve active tenant information including ID, name, VAT, and currency. Confirms token validity with a 200 response.
Instructions
Verify the token and return the active tenant (id, name, VAT, currency…).
Call this first. A 200 confirms the token works; a 401/403 means it is missing, revoked, or malformed.
Note: with an 'agl_' API key this reads /tenants/me. The /auth/me endpoint is reserved for interactive session logins (onboarding/membership flow) and deliberately rejects API keys.
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 | |||