Get EDD Discount
edd_get_discountRetrieve detailed information about a specific discount code by providing its ID. Use this to get discount details for analysis or display.
Instructions
Get detailed information about a specific discount code
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"discountId": "<discountId>"
},
"name": "edd_get_discount"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| discountId | Yes | The discount ID to retrieve |