get-cl-swap-estimates
Calculate swap estimates for Concentrated Liquidity pools on Osmosis, including price impact, to plan token exchanges before executing transactions.
Instructions
Returns swap estimates specifically for CL pools with price impact
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": {
"poolId": "<poolId>",
"tokenIn": "<tokenIn>",
"tokenOut": "<tokenOut>",
"amount": "<amount>"
},
"name": "get-cl-swap-estimates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| poolId | Yes | The CL pool ID | |
| tokenIn | Yes | Input token denomination | |
| tokenOut | Yes | Output token denomination | |
| amount | Yes | Amount to swap | |
| isExactIn | No | Whether the amount is exact input (true) or exact output (false) |