get_discounts
Lists all code and automatic discounts with optional filters, returning title, status, type, usage, and value details.
Instructions
List all discounts (both code and automatic) with optional filtering. Returns discount details including title, status, type, usage, and value.
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": "get_discounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | ||
| first | No | ||
| query | No | Search query to filter discounts (e.g., 'status:active') |