Get credit balance
get_credits_balanceReturn the current credit balance. With estimate_model or estimate_type, also estimates one generation (same as estimate_generation). Credits are checked automatically when a generation is submitted.
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_credits_balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skills_used | No | Optional workflow analytics: names of the skills (or skill/reference paths) followed for this call. Stored with generation jobs only. Never include private data, local paths or media URLs. | |
| estimate_type | No | Operation to estimate, as in estimate_generation (image, video, speech, html_video…). video_edit needs estimate_model; 3d_model is not available on this server and says so. | |
| estimate_model | No | Model ID to estimate. | |
| estimate_params | No | Arguments of the generation to estimate. |