Check Credit Balance & Usage
getAccountUsageReturns current credit balance, usage status, and account information. Trigger this whenever the user mentions balance, credits, usage, or asks to check credits.
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": "getAccountUsage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Optional: The user's PromptGPT Sync Key (e.g. PG-XXXXX). |