Set listing discount (PAID/impactful)
set_listing_discountSet a temporary discounted price on a listing for a specified number of days, updating the live price shown to buyers.
Instructions
Set a temporary discounted price on a listing (POST /listings/:id/discount). This changes the live price shown to buyers for the given period. Confirm with the user first.
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>",
"price": "<price>",
"days": "<days>"
},
"name": "set_listing_discount"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Listing id | |
| days | Yes | Discount duration in days | |
| price | Yes | New discounted price |