list_coupons
Retrieve coupons with pagination, search, and filters to find specific discount codes.
Instructions
List coupons with pagination, search and filters.
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 | Page number, 1-based (default 1) | |
| sort | No | Sort field, e.g. 'createdAt' or 'name' | |
| search | No | Free-text search query | |
| status | No | Filter by status | |
| filters | No | Additional query-string filters passed through to the API verbatim | |
| page_size | No | Items per page |