Check granted scopes
whoamiWhich Gambit account this connection acts for, and your API key's granted scopes and what each unlocks. Call this before attempting writes, or when a tool returns a 401/403 scope error, instead of retrying. Everything YOUR tools write (Gambits, facts, views, saved Gambits, signals) lands on this account: when the user may have more than one account, tell them which one before a write. account: display_name, email (masked, d***@domain) and main_wallet (shortened), null when the key lacks api:read or the lookup failed; key: id, key_prefix, label, kind (api_key or connector), scopes and created_at.
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 | |||