add_book
Add a book to the library catalog using a unique ISBN and details such as title, author, genre, and total copies.
Instructions
Adds a new book to the library catalog. ISBN must be unique.
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": {
"title": "<title>",
"author": "<author>",
"isbn": "<isbn>"
},
"name": "add_book"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| isbn | Yes | ||
| genre | No | ||
| title | Yes | ||
| author | Yes | ||
| total_copies | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |