prepare_uniswap_v3_burn
Build an unsigned transaction to destroy a Uniswap V3 LP position NFT. Requires the position to be fully drained with zero liquidity and zero owed tokens.
Instructions
Build an unsigned Uniswap V3 LP burn transaction — destroys the position NFT (irreversible). Hard-refuses unless the position is fully drained: liquidity == 0 AND tokensOwed{0,1} == 0. Standard close-out sequence: prepare_uniswap_v3_decrease_liquidity({ liquidityPct: 100 }) → prepare_uniswap_v3_collect → prepare_uniswap_v3_burn. The error message names the right next step on each refusal.
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": {
"wallet": "<wallet>",
"tokenId": "<tokenId>"
},
"name": "prepare_uniswap_v3_burn"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet | Yes | ||
| chain | No | ethereum | |
| tokenId | Yes | ERC-721 tokenId of the LP NFT to destroy. Must be owned by `wallet`. The position must be fully drained: liquidity = 0 AND tokensOwed{0,1} = 0. Refused otherwise with the right sequence (decrease → collect → burn) named in the error. |