pancakeswap_best_route
Portfolio rebalancing, the free half: which PancakeSwap pool a swap of one token should go through at your size, and what it costs. The paid half prices a whole rebalance against the pools that would execute it.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"usd": 250,
"address": "0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82"
},
"name": "pancakeswap_best_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| usd | No | Trade size in USD | |
| address | Yes | A BEP-20 token address on BNB Chain (0x…) |