Add a book to a collection
add_book_to_collectionAdds a book to an Apple Books collection or the Want to Read list via collection and book IDs; idempotent, requires write access and Apple Books to be closed.
Instructions
Add a book to a collection (user-created collections and "Want to Read"). Idempotent. Requires write access and Books to be quit.
Args: collection_id: The collection's numeric ID. book_id: The book's numeric ID.
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": {
"collection_id": "<collection_id>",
"book_id": "<book_id>"
},
"name": "add_book_to_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| book_id | Yes | ||
| collection_id | Yes |