check_balance
Retrieve the prepaid balance, currency, and page price for a PaperSprocket account by account ID to verify available funds before rendering PDFs.
Instructions
Check the prepaid balance of the configured PaperSprocket account. Returns account_id, balance_cents, currency, and page_price_cents.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"account_id": "<account_id>"
},
"name": "check_balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | The PaperSprocket account id to query. |