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.
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": {
"text": "<text>",
"source": "<source>"
},
"name": "library_shelve_document"
}
}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 |