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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| book_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |