check_availability
Check if a specific book is available in the bookstore inventory by providing the book ID and optional quantity needed.
Instructions
Check if book is available.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
book_id | Yes | ||
quantity | No |
Input Schema (JSON Schema)
{
"properties": {
"book_id": {
"title": "Book Id",
"type": "integer"
},
"quantity": {
"default": 1,
"title": "Quantity",
"type": "integer"
}
},
"required": [
"book_id"
],
"type": "object"
}