Get credit balance
get_credit_balanceRetrieve the Sparkles credits available to this account, including any subscription balance, to check remaining image-generation capacity before running jobs.
Instructions
Read the Sparkles credits available to this account, including any subscription balance.
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 | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| balance | Yes | ||
| currency | No | ||
| unlimited | No | ||
| subscription | No | ||
| walletBalance | No | ||
| subscriptionBalance | No |