{"name":"slippage_bounds","title":"Slippage bounds in base units","description":"From a quoted amount in base units (integer string) and a slippage tolerance in basis points, computes the minimum you should accept (min_out, rounded down) or the maximum you should pay (max_in, rounded up). Integer arithmetic only; the rounding direction is stated.","inputSchema":{"type":"object","properties":{"amount":{"type":"string"},"slippageBps":{"type":"integer","minimum":0,"maximum":10000},"direction":{"type":"string","enum":["min_out","max_in"]}},"required":["amount","slippageBps","direction"],"additionalProperties":false},"example":{"amount":"1000000","slippageBps":50,"direction":"min_out"},"call":{"method":"POST","url":"https://logicnodes.io/v1/tools/slippage_bounds","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"}