record_loan
Records a checked-out library book for a branch, with optional author; dates use YYYY-MM-DD, checked-out defaults to today, and due defaults to 21 days later.
Instructions
Record a checked-out book. Dates use YYYY-MM-DD; checked_out defaults to today and due defaults to checked_out + loan_days (21).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| due | No | ||
| title | Yes | ||
| author | No | ||
| branch | Yes | ||
| loan_days | No | ||
| checked_out | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |