billing.balance
The caller's credit balance and plan state.
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": "billing.balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | No | ||
| balance | Yes | Credits available right now. | |
| user_id | No | ||
| currency | No | ||
| spent_total | No | Credits ever spent on runs. | |
| granted_total | No | Credits ever granted (welcome + top-ups). |