withdraw_erc4626
Withdraw assets from any ERC-4626 compliant vault. Specify amount or use 'max' to attempt full withdrawal.
Instructions
Withdraws assets from any ERC-4626 compliant vault. Use "max" to attempt a full withdrawal (vault may still limit to available liquidity).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vault | Yes | ERC-4626 vault contract address to withdraw from. | |
| asset | Yes | Underlying ERC-20 token address. | |
| amount | Yes | Amount to withdraw. Use "max" for the full balance. | |
| chain_id | No | Chain ID. Default: 1 (Ethereum mainnet). |