Why this route won — and what it beat
robyn_why_this_routeReturns the full routing decision: every rail that quoted, what each would deliver, the margin the winner won by, and which rails stayed SILENT and why. Signed, so you can archive the rationale. CHECK wasCompetitive BEFORE TELLING A USER THE PRICE IS GOOD. If it is false, exactly one rail answered and "best" means "only" — it did not beat anything. Rails in silentRails did NOT lose; they failed to answer (down, rate-limited, missing credentials). Never describe them as more expensive.
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": {
"fromChain": "<fromChain>",
"toChain": "<toChain>",
"amount": "<amount>"
},
"name": "robyn_why_this_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | ||
| toChain | Yes | ||
| toToken | No | ||
| fromChain | Yes | ||
| fromToken | No | ||
| toAddress | No |