check_balance
Check remaining prepaid USD credits for a Space AI API key, or pass checkout_session_id from create_payment_link to retrieve your API key once Stripe payment completes. Read-only.
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": "check_balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | Optional Space AI API key to inspect (defaults to Authorization header key). | |
| checkout_session_id | No | Optional Stripe checkout_session_id (cs_...) from create_payment_link to claim your API key after paying. |