optimal_order_routing
$0.007 — Call this before executing a trade so you don't overpay in fees — compares fee-adjusted net cost on Kraken, Coinbase and Hyperliquid for your coin, size and side, and returns the cheapest venue with the exact dollar saving versus the others. Params: coin=BTC, size_usd=5000, side=buy
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": "optimal_order_routing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coin | No | Cryptocurrency symbol (default: BTC) | BTC |
| side | No | Order side (default: buy) | buy |
| size_usd | No | Order size in USD, 10-1000000 (default: 1000) |