List your recent calls and charges
list_callsFree; reads only. Lists your recent account calls, newest first: the tool, whether it succeeded, failed, was rejected (refused before running) or is still running, what it was charged (failed and rejected calls cost $0), the error code and message of a failed or rejected call, the name of the API key that made it, and its request id, plus the total charged on the page. Use it to review spending or find a request id for get_call. Filter by status, page back with before (the next value from the previous page). Needs an account API key on the connection; x402 calls are paid from your own wallet and show in its history instead.
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": "list_calls"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many calls to return, 1 to 50. Default 20. | |
| before | No | Only calls made before this time (ISO 8601). Use the createdAt of the last call on the previous page. | |
| status | No | Only calls with this status (rejected = refused before running, e.g. a rate limit). Leave out for all. |