List credit ledger entries
list_ledgerList this account's most recent credit ledger movements (top-ups, calls, SMS, agent usage, monthly number fees, refunds, manual adjustments, and on an account with a monthly plan subscription_grant and subscription_expire), newest first. amountHal is negative for a charge and positive for a credit; a charge covered by the monthly plan credit also carries fromSubscriptionHal. No cursor - just limit; for a specific paid document use list_billing_documents instead. Same data as GET /v1/credit/ledger (response schema in /openapi.json).
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_ledger"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many rows to return, newest first. Defaults to 50, capped at 200. |