factor_lp_remove_liquidity
Remove liquidity from a concentrated Uniswap V3 LP position through a Factor vault on Ethereum; set liquidity to "all" to withdraw the entire position.
Instructions
Remove liquidity from a concentrated liquidity position through a Factor vault. Supports Uniswap V3 (Ethereum). Use liquidity "all" to remove all liquidity.
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": {
"vaultAddress": "<vaultAddress>",
"protocol": "<protocol>",
"tokenId": "<tokenId>",
"liquidity": "<liquidity>"
},
"name": "factor_lp_remove_liquidity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tokenId | Yes | The NFT token ID of the LP position | |
| password | No | Wallet password if encrypted | |
| protocol | Yes | The LP protocol to use | |
| liquidity | Yes | Amount of liquidity to remove, or "all" to remove everything | |
| vaultAddress | Yes | The vault contract address |