Delete Markdown node
nodiom_deleteDelete specific Markdown sections or list items with structural selectors, leaving all other content untouched. Targets exact node for precise edits.
Instructions
Removes the node or section matched by the selector. Use "## Section > li[0]" to delete the first list item. Use "## Section" to delete an entire section including its heading. All other content is 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>"
},
"name": "nodiom_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute path to the Markdown file. | |
| selector | Yes | Selector for the node to delete. Example: "## Completed > li[0]", "## Old Section" |