Chunk Markdown
md_chunkSplit Markdown into heading-aware chunks for search and RAG.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "md_chunk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | The Markdown text to split into chunks. | |
| maxChars | No | Largest size of a chunk in characters, as a whole number of 200 or more. Default 1500. | |
| prefixPath | No | Set to true to start each chunk with its heading path. Default false. | |
| overlapChars | No | Characters to repeat between neighbor chunks, from 0 up to half of maxChars. Default 0. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| tool | Yes | ||
| result | Yes |