list plans and prices
billing-plans_listLists available billing plans with prices, included credits, limits, and credit top-up options for the session’s organization, so users can compare and choose a plan in chat.
Instructions
List the plans the organization can buy, with each price, what it includes and whether credits can be topped up, so the person can choose in the chat without visiting the website. It is for the session's organization unless you pass organizationId. Use it when the person asks about plans, prices, upgrading or buying credits, and before you suggest a plan after a refusal with nextAction.type upgrade_plan or buy_credits. Not for the current plan or balance alone (account_get-context, account_get-usage), the cost of one generation (generations_estimate-cost), or what a past generation cost (generations_get-costs).
Effects: it only reads. Nothing is charged, held or changed.
Show the plans with change subscribe or upgrade, each with its price per interval, and say that a plan renews. Do not push a plan: answer what was asked, or name the cheapest one that unblocks a refused request. To buy, after the person says yes: billing-payment-links_create when agentPayments is true and you have a payment wallet, otherwise billing-approval-links_create and give the person its url. Pass the plan id, or credits within minCredits and maxCredits.
Returns: organization, billingModel, currentPlan, plans (id, name, amountCents, currency, interval, monthlyCredits, limits, change, unavailableReason), credits and agentPayments.
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-plans_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| organizationId | No | Run only this call in another of the user’s Sync organizations, by id from organizations_list, when the user asks for it (for example “generate this in the Acme org”). The session keeps its organization; reads of the ids this call returns stay in this organization. Omit to use the session’s organization. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||