memory_index_split
Split a Markdown note into routed topic documents losslessly. Preview triggers and line maps, then apply to write topics, add INDEX routes, back up the original, and replace the source with a notice.
Instructions
Split one Markdown note into routed topic documents, losslessly.
Preview by default: apply=false reports every topic trigger and the complete per-line map (original line -> topic document and topic line) while writing nothing. apply=true writes the topic documents, adds their INDEX routes, backs the original up in the review journal and replaces the source with a notice. Every original byte is preserved; there is no remove/clear operation and no summarization.
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": {
"document": "<document>"
},
"name": "memory_index_split"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apply | No | false (default) = preview only; true = write topics, add their routes and replace the source with a notice | |
| document | Yes | vault-relative .md note to split | |
| max_tokens | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||