list_discounts
Retrieve all discount codes configured for food orders in the WPCafe plugin. Supports pagination with per_page and paged parameters.
Instructions
[WPCafe Pro] List discount codes configured for food ordering.
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_discounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paged | No | Page number | |
| per_page | No | Discounts per page |