prepare-exit-pool
Generate an unsigned transaction to redeem liquidity pool shares for underlying tokens on Osmosis, specifying minimum token amounts to receive.
Instructions
Prepares an unsigned transaction to exit a pool
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>",
"sender": "<sender>",
"shareInAmount": "<shareInAmount>",
"tokenOutMins": "<tokenOutMins>"
},
"name": "prepare-exit-pool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| poolId | Yes | The ID of the liquidity pool | |
| sender | Yes | The sender's Osmosis address | |
| shareInAmount | Yes | Amount of LP shares to redeem | |
| tokenOutMins | Yes | Minimum amounts of each token to receive |