Check account and credits
whoamiShow the connected account's email, workspace, role, plan, and credit balance.
Use it when the user asks which account is connected, its plan, or its credits left.
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 |
|---|---|---|---|
| plan | Yes | The workspace's plan; it decides which features are available. | |
| Yes | |||
| workspace_name | Yes | ||
| workspace_role | Yes | ||
| credits_balance | Yes |