Skip to main content
get_plan, get_usage, get_billing_info, and list_invoices are reads. They do not buy, change, pause, cancel, or pay. Call them before a large broadcast, a new Flow, or a template, so the assistant can tell you when a field or a feature will be rejected.

Ask this

What the assistant calls

1

Read the plan

get_plan returns the plan name, status, renewal date, formatted price, and included messages, AI tokens, automations, Flows, bots, seats, and phone numbers, with how many are used. Seats count invited teammates and do not include the account owner. usageHistory includes the current period. get_usage returns message and AI token usage. get_billing_info reads the billing name and address. list_invoices lists invoices, including amountPaid, subtotal, discount, total, and receiptUrl when Stripe has a charge receipt. A paid total of 0 means a coupon covered the subtotal. get_limits returns the field limits the assistant must respect before it writes template, workflow, Flow, bot, catalog, or message text.
2

Stop on plan errors

PLAN_EXPIRED means the plan is expired. FEATURE_NOT_INCLUDED means this plan does not include that tool. The assistant does not retry PLAN_EXPIRED until you renew on Manage Plan. It does not buy or change the plan from a tool.
Write calls are also capped at 60 a minute per API key. That limit, and the error codes, are on Rules.