discount
Apply a percentage discount to a price and return the sale price, amount saved and effective rate. Pure CPU, instant.
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": {
"price": "<price>"
},
"name": "discount"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | Yes | Original price | |
| percent | No | Discount percent |