Who am I connected as
whoamiShow how this connection is authenticated: none, API key or OAuth, its mode, scopes and account. For Checkout accounts it adds the business name and status. Call it first to know whether account tools will work and whether payments are test or live.
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 |
|---|---|---|---|
| auth | Yes | ||
| mode | Yes | ||
| next | Yes | ||
| scopes | Yes | ||
| account | Yes | ||
| endpoint | Yes | ||
| liveMode | Yes |