Get plan and credit balance
get_billingCheck the plan and credits left (plan credits this month, free trial, purchased) before planning paid runs, or after a 402 refusal. Also says whether Core is billed monthly or annually and when it renews or ends (subscription), and whether the free trial has ended and needs a card (offer.payment_needed). A Developer workspace with a saved card is billed monthly for what it uses (extra_credits.billed_after_use). Changing, cancelling or resuming the plan is done by a person on the billing page (billing_url); share that link rather than trying it yourself. Read-only; never returns payment details.
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 | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||