Check credits and get a top-up link
creditsShows this account's prepaid credit balance in US dollars, and returns a checkout link the user can open to add more. Use it before a large job, or when a call is refused for credit. Credits are prepaid and used per call; there are no seats or subscriptions.
The link is for the USER to open in a browser and pay; do not open it yourself.
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": "credits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_up_usd | No | The amount the checkout link buys, in dollars, 5 to 1000. Default 25. |