Write (replace) Markdown section
nodiom_writeReplace the body content of a Markdown section using a structural selector while preserving the heading and all other sections. Update specific parts of a document without altering unrelated content.
Instructions
Replaces the content at a structural location with new content. The heading itself is preserved — only the body content is replaced. All other sections in the document are untouched.
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": {
"file": "<file>",
"selector": "<selector>",
"content": "<content>"
},
"name": "nodiom_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute path to the Markdown file. | |
| content | Yes | New Markdown content to place at this location. | |
| selector | Yes | Selector for the section to replace. Example: "## Summary" |