buy_addon
Purchase a Vercel add-on for a team, by integer quantity. Currently only the siem add-on (SIEM log drains) is available, and the team must be on the Flex plan.
Vercel's API doesn't return a price for add-ons, so the quote includes a priceNote and a link to the team's billing settings where you can review the unit price before confirming.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
productAlias | string | Yes | - | The add-on to purchase. Only siem is available today |
quantity | number | Yes | - | Number of units to purchase |
teamId | string | Yes | - | The team ID to purchase the add-on for. Alternatively the team slug can be used. Team IDs start with 'team_' and can be found by reading .vercel/project.json (orgId) or using list_teams. |
confirm | boolean | Yes | - | Set true to execute the charge |
idempotencyKey | string | Yes | - | The idempotencyKey returned by get_purchase_quote |
Sample prompt: "Buy 2 units of the SIEM add-on for my team"
Was this helpful?