Get plan and credits
get_billingShow the account's ScriptGrain subscription: plan, billing cycle, status, remaining credits (generation, top-up, brand-mimic), extraction usage, renewal date and whether the subscription is set to cancel. Free and read-only. Useful when a generation was refused for credits, or before suggesting an upgrade.
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_billing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||