return_book
Return a borrowed book to close the active loan and calculate overdue fines at $0.50 per day. Use to complete a member's loan or verify an active loan exists.
Instructions
Returns a borrowed book for a member, closing the loan and calculating any overdue fines ($0.50/day). Fails if no active loan exists for the member and book.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| book_id | Yes | ||
| member_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |