Prepare: Repay a loan
gage_prepare_reclaimPrepare repaying a running loan in full, in the asset it is paid in, and taking the collateral back, before its term ends. Returns the next unsigned transaction and a review link; never signs.
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": {
"wallet": "<wallet>",
"loanId": "<loanId>"
},
"name": "gage_prepare_reclaim"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| engine | No | The engine; the current core when omitted, the loan's own core for a loan in a lend asset | |
| loanId | Yes | ||
| wallet | Yes |