get_coupon
Retrieve details of a specific coupon or discount code. Provide the coupon ID to get its information.
Instructions
Retrieves details of a specific coupon or 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": {
"id": "<id>"
},
"name": "get_coupon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The ID or name of the coupon. |