Get plan and billing status
billing_statusCheck account plan, trial status, credits used, next charge, and unpaid invoice when a payment fails or a user asks about billing; returns a billing link for plan changes and payments.
Instructions
Use this when a tool fails with PAYMENT_REQUIRED, or the user asks about their plan, trial or bill. Returns the account's plan (none, pro, payg = old prepaid credits until November 1, 2026, enterprise), the Pro status (trialing, active, past_due, canceled), trial days and trial credits left, this month's credits used of the included $19 and the overage, the next charge, a pending cancel, an unpaid invoice link, and billingUrl. Pro is $19/month, taxes included, with $19 of credits each month. Starting Pro, paying and cancelling happen in the browser at billingUrl; give the user the link. With workspaceId, reads that workspace owner's plan.
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": "billing_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspaceId | No | Read the plan of this workspace's owner instead of your own |