Prepare Uniswap V3 fee collection
prepare_uniswap_v3_collect_feesCollect all owed fees without removing liquidity, optionally unwrapping WETH. Verify NFT ownership and currencies first. V3 collect has no onchain deadline; regenerate and simulate before execution.
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>",
"deadline": "<deadline>",
"token0": "<token0>",
"token1": "<token1>",
"token_id": "<token_id>"
},
"name": "prepare_uniswap_v3_collect_fees"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sender | Yes | address | |
| token0 | Yes | address | |
| token1 | Yes | address | |
| chain_id | Yes | ||
| deadline | Yes | decimal integer | |
| token_id | Yes | decimal integer | |
| unwrap_native | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| execution_plan_reference | No | artifact_reference; pass unchanged |