Get credits
get_creditsRetrieve the current Studio credit balance for your API key to monitor remaining credits and prevent generation errors.
Instructions
Return the current Studio credit balance for this 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_credits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||