x402node_math_percentage
Calculate percentages: X percent of Y, what percent X is of Y, percent change, percent increase/decrease, tips, discounts, markup, and margin. Auto-paid in USDC on Base.
Instructions
Percentage calculator / percent of / percent change / percent increase decrease / what percentage / tip calculator / discount calculator / markup / margin. Compute percent operations: X percent of Y, what percent X is of Y, percent change from X to Y, X increased or decreased by Y percent.
Price: unknown on Base (auto-paid in USDC).
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": {
"a": "<a>",
"b": "<b>",
"op": "<op>"
},
"name": "x402node_math_percentage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | First number (required) | |
| b | Yes | Second number (required) | |
| op | Yes | Operation: of | what | change | inc | dec (required) |