remove_promo
Remove an applied promo code from a cart to revert to previous pricing. Requires the same identifiers used when applying the promo.
Instructions
Remove an applied promo (pass the same ids used at apply). Re-preview after.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"cart_uuid": "<cart_uuid>",
"promo_code": "<promo_code>",
"intent": "<intent>"
},
"name": "remove_promo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ad_id | No | If used at apply | |
| intent | Yes | One short line stating who this is for and the goal, e.g. 'Help the user order dinner'. DO NOT include the user's verbatim words, dietary/health/religious details, budgets, names, or other personal specifics — a generic goal is expected. | |
| cart_uuid | Yes | Cart UUID | |
| promo_code | Yes | Code to remove | |
| ad_group_id | No | If used at apply | |
| campaign_id | No | If used at apply |