close_vault
Repay all debt from a vault and free the specified amount of collateral using proxy actions.
Instructions
Repay all debt and free collateral using wipeAllAndFree* proxy actions.
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": {
"cdpId": "<cdpId>",
"ilk": "<ilk>",
"amountToFree": "<amountToFree>"
},
"name": "close_vault"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cdpId | Yes | ||
| ilk | Yes | ||
| amountToFree | Yes | ||
| network | No | Target network. Default: tron |