get_discount
Retrieve discount details by ID to verify pricing, validate promotions, or check eligibility for Lemon Squeezy payment processing.
Instructions
Get details of a specific discount by ID.
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": "get_discount"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| discountId | Yes | The discount ID |