Get Billing Status
get_billingBilling status + a Stripe checkout link when a NEW subscription is needed.
`plan` is one of starter | pro | agency (default starter). When the
workspace has NO live subscription and needs one (open-signup unpaid,
churned, or converting from a free/trial tier), returns a `checkout_url`
with next_action "browser" — the user opens it in a browser (the one setup
step that can't happen in chat). Compute unlocks automatically once payment
completes (a Stripe webhook flips the workspace to active); blocking on it
is unnecessary. A past_due workspace gets NO checkout — the fix is a card
update in the dashboard billing page (a new checkout would create a second
subscription); next_step carries that fix. Subscribed or
suspended-with-subscription states return checkout_url=None with an
explanatory next_step.
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 |
|---|---|---|---|
| plan | No | starter |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |