search_promotions
Find and filter storefront promotions by keyword, type, time status, or activation state across all pages. Use it to locate specific campaigns and check whether each is synced with the POS system.
Instructions
Search/filter ALL promotions (every page): by keyword, type, time status (coming_soon/in_progress/finished), active flag. Rows carry pos_id (non-null = synced with POS)
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": "search_promotions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| term | No | Search by promotion name | |
| type | No | Filter by type: normal, same_price, coupon, coupon_id_multiple_times, discount_by_coupon_id, promotion_order, promotion_category, x_get_y_prod, x_get_y_category | |
| status | No | Filter by time status: 1=coming_soon, 2=in_progress, 3=finished | |
| is_activated | No | Filter by active status |