{"name":"money_calc","title":"Currency-aware money math","description":"Rounds, adds, subtracts, multiplies, or splits an amount of an ISO 4217 currency, using that currency's real number of minor units (JPY 0, USD 2, KWD 3). A currency not in the list is refused, never assumed to have 2 decimals. split divides a total into equal parts or by ratios so the parts always add back to the total exactly.","inputSchema":{"type":"object","properties":{"currency":{"type":"string"},"op":{"type":"string","enum":["round","add","subtract","multiply","split"]},"amount":{"type":"string"},"other":{"type":"string"},"factor":{"type":"string"},"parts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"ratios":{"type":"array","items":{"type":"string"}},"rounding":{"description":"rounding rule; default half_up (ties away from zero). half_even is banker's rounding","type":"string","enum":["down","up","floor","ceil","half_up","half_even","half_down"]}},"required":["currency","op","amount"],"additionalProperties":false},"example":{"op":"split","currency":"USD","amount":"100.00","parts":3},"call":{"method":"POST","url":"https://logicnodes.io/v1/tools/money_calc","body":"JSON object matching inputSchema"},"price":"$0.001","freeAllowance":"25 calls per day per caller (signed wallet, else IP + user agent), then x402 ($0.001 in USDC); see https://logicnodes.io/v1/payments/methods"}