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.
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": {
"isbn": "<isbn>",
"member_id": "<member_id>"
},
"name": "return_book"
}
}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 |