renew_loan
Extend a library loan by a specified number of days from its current due date, unless the loan is overdue, has no renewals left, or an active hold exists for the title.
Instructions
Extend a loan by days from its current due date. Blocked if the
loan is overdue, out of renewals (2), or an active hold has that title.
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": {
"loan_id": "<loan_id>"
},
"name": "renew_loan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| loan_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |