gate_swap_preview
FREE live sample of the gate_swap pre-trade GO/HOLD/BLOCK decision for a demo Base token (usdc|weth|cbbtc|aero|degen), same shape as the paid gate_swap tool. The paid gate_swap tool additionally returns a top-level sized_verdict one-liner plus the full sizing object (entry/exit slippage simulation + round-trip breakeven + max_safe_notional_usd); the paid_adds block here names those fields. No payment required.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "gate_swap_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | No | default buy | |
| token | No | demo token, default usdc | |
| notional_usd | No | trade size in USD (default 100) |