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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| loan_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |