calculate_dex_slippage_bounds
Compute minimum amountOut bounds using max slippage tolerance to protect DEX swaps from MEV sandwich attacks.
Instructions
Computes minimum amountOut bounds based on maximum slippage tolerance to protect agent swaps from MEV sandwich attacks. (0.01 USDC on Base L2)
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": {
"payload": "<payload>"
},
"name": "calculate_dex_slippage_bounds"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | Yes | Input parameters or JSON string payload for the tool execution | |
| paymentSignature | No | Base L2 USDC micropayment signature or transaction hash for x402 settlement |