Prepaid balance
get_credit_balanceUse this when you want to know how much prepaid balance (sats and USDC) is left before running more calls or feeds. Read-only. Example: get_credit_balance(credit_token="btf_...")
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": {
"credit_token": "<credit_token>"
},
"name": "get_credit_balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| credit_token | Yes | Prepaid token (btf_...), returned once by buy_credits or create_feed. Send it on every later feed or credit call. |