rag_semantic_chunker
Split Markdown or plain text into deterministic, heading-aware RAG chunks respecting a target token budget and overlap, with breadcrumb heading paths and SHA-256 hashes.
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>"
},
"name": "rag_semantic_chunker"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Markdown or plain text document to chunk. | |
| max_tokens | No | Target maximum estimated tokens per chunk. | |
| overlap_tokens | No | Estimated overlap tokens carried from previous chunk. | |
| preserve_headings | No | Split at Markdown heading boundaries and attach heading breadcrumb paths. |