x402-discount-calc
Discount Calc: Computes discount savings and final price from an original price and a 0-100 percent 🆓 5 free trial calls per signed wallet
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": "x402-discount-calc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | Yes | ||
| percent | No | ||
| discount | No |