cart_add_promotions
Generate a cart promotion engine to add promotional rules and discounts to shopping carts. Use it to configure promotions for your e-commerce project.
Instructions
Generate cart promotion engine (Pro feature)
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": {
"directory": "<directory>"
},
"name": "cart_add_promotions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | ||
| directory | Yes | Project directory |