discount_calculator
Calculate the final price and total savings from an original price and discount percentage. Enter the original price and discount percent to see the discounted cost and amount saved.
Instructions
Calculate final price and savings from discount %. Input: originalPrice, discountPercent.
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": {
"originalPrice": "<originalPrice>",
"discountPercent": "<discountPercent>"
},
"name": "discount_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| originalPrice | Yes | ||
| discountPercent | Yes |