find_best_swap_route
Determine the swap route on KAYEN Protocol for exchanging a specified input token and amount into an output token.
Instructions
Find optimal swap route on KAYEN Protocol
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": {
"tokenIn": "<tokenIn>",
"tokenOut": "<tokenOut>",
"amountIn": "<amountIn>"
},
"name": "find_best_swap_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tokenIn | Yes | Input token symbol or address | |
| amountIn | Yes | Amount to swap | |
| tokenOut | Yes | Output token symbol or address |