buy_book
Purchase books from the bookstore by specifying the book ID and desired quantity. This tool enables users to complete book transactions through the bookstore management system.
Instructions
Buy a book.
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"
}