Buy extra inboxes, domains, or email
cooper_set_addonsUse this when a Starter or Pro account needs more inboxes, custom domains, or monthly emails than the plan includes. Requires auth. A sub-account key returns HTTP 403 workspace_billing_forbidden. Free, a grandfathered account, and an account with no Stripe subscription return HTTP 402 plan_limit_exceeded and buy nothing. A past_due, unpaid, or incomplete subscription returns HTTP 402 subscription_not_current. Inputs: inboxes, domains, and email_packs are optional integers from 0 to 100. At least one is required. Each number replaces that add-on quantity. One extra inbox is $1 per month. One extra custom domain is $1 per month. One email pack is $1 per month and adds 1,000 emails. An increase is invoiced immediately, and the cap rises only after Stripe confirms payment. A decrease is not credited. A quantity below live usage returns HTTP 409 addon_below_usage. Email packs already used stay locked until the Stripe period ends. Setting a quantity to 0 removes unused extra capacity. Returns {object:"usage_addons", inboxes, domains, email_packs, previous, extra_emails, monthly_cents, lookup_keys, limits}. Lookup keys are cooper_overage_inbox_monthly, cooper_overage_domain_monthly, and cooper_overage_sends_1000_monthly. npm run stripe:setup creates those prices. HTTP 402 addon_payment_failed means the invoice was not paid and the quantity was not saved. HTTP 503 stripe_not_configured when Stripe is unset, stripe_price_missing when a price is absent, and usage_addon_failed when Stripe refuses the change for another reason.
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": "cooper_set_addons"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domains | No | Extra custom domains to keep on the subscription. Replaces the previous quantity. $1 per month each. | |
| inboxes | No | Extra inboxes to keep on the subscription. Replaces the previous quantity. $1 per month each. | |
| email_packs | No | 1,000-email packs to keep on the subscription. Replaces the previous quantity. $1 per pack each month. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limits | No | Plan limits that apply to this account. | |
| object | No | Object type name, such as list, message, or thread. | |
| domains | No | Extra custom domains on the subscription. | |
| inboxes | No | Extra inboxes on the subscription. | |
| previous | No | Quantities before this change. | |
| email_packs | No | Extra email packs on the subscription. | |
| lookup_keys | No | Stripe price lookup keys that were used. | |
| extra_emails | No | Extra monthly emails the packs add. | |
| monthly_cents | No | Monthly add-on cost in US cents. |