Show Plans & Credits (Popcraft)
popcraft_show_plans_and_creditsShow the user their current credit balance and plan with live plan/credit-pack pricing and direct purchase links — use this as the recovery step after a popcraft_generate_* call fails with insufficient credits, or whenever the user asks about pricing/plans/credits. Pass intent:"topup" (out of credits / buy more) or intent:"upgrade" (plan change / model locked) so the response is ordered for that purchase path. The returned text is ready-made, user-facing copy whose Markdown links point at the exact purchase pages — relay it verbatim (do NOT summarize, reorder, or drop the links; in widget-capable clients you may add that the pricing card above shows the same options).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| intent | No | "general" (default) orders by account state; "topup" leads with credit packs (out-of-credits recovery); "upgrade" leads with subscription plans |