Get AI Chili Credit Wallet Balance
get_credit_balanceFetch your live credit wallet balance, daily grant status, and PAYG tier state to check available credits before planning or submitting generation jobs.
Instructions
Fetch live credit wallet balance, daily grant status, and PAYG tier state via GET /v1/credits. Requires chili_sk_... API key.
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 |
|---|---|---|---|
| api_key | No | Optional AI Chili API key (chili_sk_...). Defaults to AICHILI_API_KEY env var. |