library_shelve_document
Chunk and persist long text as multiple retrievable books, with optional replacement of existing chunks.
Instructions
Chunk and persist a larger local text document as multiple books. Set replace_edition to replace prior chunks from the same source.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| source | Yes | ||
| catalog | No | JSON catalog metadata or exact-match catalog filters. | |
| collection | No | Optional library collection/namespace; defaults to the configured collection. | |
| importance | No | ||
| chapter_tokens | No | ||
| overlap_tokens | No | ||
| replace_edition | No |