add_agents
Add agents to an existing dxpert site subscription, charging the prorated fee via Stripe and updating account entitlements. Requires an account login token to approve the spend.
Instructions
Add agents to an EXISTING site subscription. THIS MOVES MONEY: it charges the prorated amount through Stripe right away and updates the account's entitlements. Each agent is $100/mo on top of the $200/mo API base; see https://dxpert.ai/store. "architect" (Namespace Architect) is COMING SOON and is refused here with 409 product_coming_soon; the all-agents bundle is how an account gets it.
Because it spends, it requires "account_token" - a human-held account LOGIN token from POST /api/account/login, or localStorage.dxpert_token after signing in at dxpert.ai. The runtime API key alone is deliberately not enough to spend money. If you do not already hold an account token, stop and ask the user for one; do not go looking for credentials.
Before calling, state the site, the agents, and the resulting monthly total, and get the user's explicit go-ahead. Call get_storefront first if you are unsure what the site already has. For a site with no subscription yet, use start_agents_purchase instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agents | Yes | ||
| site_name | Yes | ||
| account_token | Yes |