aave_repay_with_atokens
Builds an Aave transaction that repays debt by burning aTokens, so you don't need underlying tokens. Specify chain, asset, and amount to get unsigned calldata.
Instructions
Build transaction to repay debt by burning aTokens directly (no need for underlying tokens).
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>",
"asset": "<asset>",
"amount": "<amount>"
},
"name": "aave_repay_with_atokens"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | Yes | Underlying token address of the debt to repay | |
| chain | Yes | Target chain | |
| amount | Yes | Amount in human-readable units (e.g. "1000.5") or "max" for maximum |