Coupon Mark Used
coupon_mark_usedToggle a coupon's used status between used and available, updating its state with each call.
Instructions
Toggle the used status of an item.
Calling this once marks the item as USED; calling it again marks it available again. The returned item reflects the new state.
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": {
"item_id": "<item_id>"
},
"name": "coupon_mark_used"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||