account
Read personal balance/access (summary) or paginated billing (usage), not spending authorization. Returns action plus summary or usage (items, page, pageSize, total, hasMore); increment page only while hasMore. Use spending_policy for automatic-spending limits and list_models for model prices.
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": "account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Usage end, RFC3339 or YYYY-MM-DD. | |
| from | No | Inclusive usage start, RFC3339 or YYYY-MM-DD. | |
| page | No | Usage page, starting at 1. | |
| type | No | Optional credit-log type, e.g. mcp_call or ai_refund. | |
| action | No | Read account summary or paginated billing; defaults to the permitted action. | |
| pageSize | No | Usage rows per page; default 5, maximum 20. |