add_book
Add an ebook file to the Calibre library with metadata and duplicate handling options. Returns the new book ID.
Instructions
Adds a file (EPUB/PDF/MOBI/AZW3...) to the library. Returns the new id. automerge (optional): 'ignore' | 'overwrite' | 'new_record' to handle duplicates. identifiers e.g. 'isbn:9788491050000'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path of the file to add. | |
| authors | No | ||
| title | No | ||
| tags | No | Initial tags, comma-separated. | |
| series | No | ||
| series_index | No | ||
| languages | No | Language code, e.g. 'eng'. | |
| identifiers | No | e.g. 'isbn:9788491050000'. | |
| automerge | No | ignore | overwrite | new_record |