delete_book
Delete a book from the library catalog by its ID. Blocks removal if the book has active loans, preventing data inconsistency.
Instructions
Removes a book from the catalog by book ID. Fails if the book has active loans.
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": {
"book_id": "<book_id>"
},
"name": "delete_book"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| book_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |