Credit History
credit_historyShows what used this account's credits: every charge of the last days days (default 30, up to 90), newest first, with its UTC time, the tool, what it was for when the call named it (a keyword, a site, an audit) and its credits, plus totals by day and by tool. Each day's total is checked against the credits the balance itself recorded that day: not_itemised says how many of them the statement cannot list (charges from before itemising began, or a record that was lost), so the figures never claim more than they know. Free calls are not listed. Free. Read-only.
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": "credit_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | How many UTC days back, today included. Default 30. | |
| tool | No | Only charges of this tool (the `tool` value of a charge or of a by_tool row). | |
| limit | No | How many charges to list, newest first. Default 200. Totals always cover the whole window. | |
| verbosity | No | concise: short summary of the answer; full: the whole answer. Only shapes the output. | |
| idempotency_key | No | Optional and ignored: this call never charges. |