It's back
return_loanCloses a loan: a lent thing is back, or a borrowed one was given back. Use it when the person says so ("Sam returned the ladder"); the id comes from list_loans.
Instructions
Closes a loan: a lent thing is back, or a borrowed one was given back. Use it when the person says so ("Sam returned the ladder"); the id comes from list_loans. The loan stays in the item's history and the borrower's reminder emails stop; nothing else about the item changes. Calling it again for the same loan is refused (it's already back).
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": {
"id": "<id>"
},
"name": "return_loan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The loan's id, from list_loans | |
| on | No | The day it came back, yyyy-mm-dd; today if left out |