tesi_plan_topup
Check whether your key balance covers a planned prompt and calculate any needed credit top-up without opening Stripe Checkout. Returns JSON with meetsStartingCredit boolean and recommendedAmountCents. Example: {"promptBytes": 1200}.
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": "tesi_plan_topup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | No | Planned prompt text to check against your current key balance. | |
| promptBytes | No | Exact UTF-8 prompt byte count when checking balance without sending text. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| meetsStartingCredit | No | ||
| recommendedAmountCents | No |