Usage history
usage_historyFree. What you spent, per action, newest first (each entry has costCents and a refund flag).
Args: limit: 1-200 rows (default 50). cursor: the previous answer's nextCursor, for the next page. since: ISO-8601 date; only rows at or after it.
Returns: {ok, entries:[{ts, action, category, costCents (cents; refunds are negative), refund (true for a refund)}], byCategory, totalCents, nextCursor}
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": "usage_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| since | No | ||
| cursor | No |