Find books by genre
get_books_by_genreFind books in your Apple Books library by genre substring, with pagination via limit and offset.
Instructions
Get books whose genre matches the given string (substring match).
Output is one row per match: [id] title by author (genre).
Args: genre: The genre to search for (e.g. "Romance", "Philosophy"). limit: Max books to return (1–500, default 200). offset: Books to skip, for paging.
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": {
"genre": "<genre>"
},
"name": "get_books_by_genre"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| genre | Yes | ||
| limit | No | ||
| offset | No |