aave_repay
Build AAVE V3 repayment transactions for borrowed assets; set amount to "max" to repay the entire debt.
Instructions
Build transaction(s) to repay borrowed assets on AAVE V3. Use amount "max" to repay entire debt.
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_repay"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | Yes | Token address to repay | |
| 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 | |
| onBehalfOf | No | Address whose debt to repay (defaults to sender) |