return_book
Return a previously borrowed book by providing the book's ISBN and the member's ID. This checks the book back in, increases the available copy count, and records the return in the member's history.
Instructions
Return a previously borrowed book on behalf of a library member.
Use this tool when the user wants to return / check in a book they have borrowed. This increases the book's available copy count by one and records the return in the member's history. Errors (unknown ISBN or empty member_id) are returned as strings, never raised.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| isbn | Yes | The ISBN of the book being returned. | |
| member_id | Yes | The library member's ID (e.g. "M001"). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |