aave_withdraw
Build an unsigned transaction to withdraw a supplied asset from AAVE V3, including the option to withdraw the entire balance by setting the amount to "max".
Instructions
Build transaction to withdraw a supplied asset from AAVE V3. Use amount "max" to withdraw entire balance.
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": "<chain>",
"sender": "<sender>",
"asset": "<asset>",
"amount": "<amount>"
},
"name": "aave_withdraw"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Recipient of withdrawn tokens (defaults to sender) | |
| asset | Yes | Underlying token address to withdraw | |
| chain | Yes | Target chain | |
| amount | Yes | Amount in human-readable units (e.g. "1000.5") or "max" for maximum | |
| sender | Yes | Address that will send the transaction |