Get credit statement
get_creditsThe account's credit statement: available, reserved (held by running jobs), spent, refunded, granted and expired credits, the latest movements, newest first (job, model, state reserved/charged/refunded, price, balance after), and the plan credits still running (expiring: credits and until when; they are spent first and lapse at the end of their month).
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": "get_credits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many of the latest movements. |