list_coupons
Retrieve and filter coupon data from Stream to manage discounts by status and type for e-commerce or promotional tracking.
Instructions
List all coupons with optional filters.
active filters by active/inactive status. is_percentage filters by discount type.
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": "list_coupons"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| limit | No | ||
| active | No | ||
| is_percentage | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||