restaurant.apply_discount
Applies a special offer or discount percentage to a restaurant dish.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "restaurant.apply_discount"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dishId | No | Optional dish ID | |
| dishName | No | Dish name | |
| offerPrice | No | Direct offer price in NPR | |
| removeOffer | No | Reset offer | |
| discountPercentage | No | Discount % |