kb_read_document
Return the extracted plain text of a single knowledge base document for quoting or summarising, with paging support to continue reading long files from a character offset.
Instructions
Return the extracted plain text of one document (for quoting/summarising).
Long documents are paged: when next_start_char is present, call again
with start_char set to it to continue reading.
:param relpath: Path relative to the volume root, e.g. 02_Books/foo.pdf.
:param max_chars: Maximum characters to return (1-50000).
:param start_char: Offset to start from (for paging through long texts).
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": {
"relpath": "<relpath>"
},
"name": "kb_read_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| relpath | Yes | ||
| max_chars | No | ||
| start_char | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |