get_credit_balance
Current credit balance for the organization, in centavos (prepaid; organizations under contract may have a credit line). creditLineLimit is the negative floor the balance may reach before new reports are blocked (0 = no credit line). Call this after a 402 from request_report: a balance at the floor means it is exhausted — ask your organization admin to top up in the API settings; retrying will not succeed. With a cnh_test_ key the result is synthetic (sandbox: true): sandbox reports never charge, so its 402 comes only from the sandbox's 402 test CPF.
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_credit_balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||