Import a book
import_bookImport a book from file path or raw text, split it into chapters and size-bounded chunks, and register it for chunked co-reading. Preserves EPUB chapter boundaries.
Instructions
Import a book by file path (.txt or .epub) or raw text, split it into chapters and size-bounded chunks, and register it for chunked reading. EPUB chapter boundaries (spine order) are preserved.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Book title; defaults to the EPUB's own title when importing an EPUB | |
| filePath | No | Absolute path to a .txt or .epub file to import | |
| text | No | Raw plain-text book content, used if filePath is not given |