Prepare one or more LP position withdrawals
prepare_lp_position_withdrawPrepare partial or full withdrawals from one or more owned positions in one plan, collecting fees or Ve33 rewards and keeping the NFTs. Read each position's current_state_query first and request no more liquidity than it decodes; require every inner call to succeed and owner to equal expected_owner. Hand the wallet every principal and earnings estimate and recipient.
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": {
"chain_id": "<chain_id>",
"sender": "<sender>",
"withdrawals": "<withdrawals>"
},
"name": "prepare_lp_position_withdraw"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sender | Yes | Owner of every position (address) | |
| chain_id | Yes | EVM chain ID | |
| withdrawals | Yes | One entry per position |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| execution_plan_reference | No | artifact_reference; pass unchanged |