prepare-cl-add-liquidity
Add liquidity to an existing Osmosis concentrated liquidity position by preparing a transaction with specified token amounts and minimums.
Instructions
Prepares a transaction to add liquidity to an existing CL position
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": {
"positionId": "<positionId>",
"sender": "<sender>",
"amount0": "<amount0>",
"amount1": "<amount1>",
"tokenMinAmount0": "<tokenMinAmount0>",
"tokenMinAmount1": "<tokenMinAmount1>"
},
"name": "prepare-cl-add-liquidity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| positionId | Yes | The position ID to add liquidity to | |
| sender | Yes | The sender's Osmosis address | |
| amount0 | Yes | Amount of token0 to add | |
| amount1 | Yes | Amount of token1 to add | |
| tokenMinAmount0 | Yes | Minimum amount of token0 to use | |
| tokenMinAmount1 | Yes | Minimum amount of token1 to use |