x402-markup-calc
Markup Calc: Computes price, profit, and margin percent from cost and a markup percent using price = cost * (1 + markup/100), rounded to 2 decimals 🆓 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": {
"cost": "<cost>"
},
"name": "x402-markup-calc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | Yes | ||
| markup | No | ||
| markupPercent | No |