Read Markdown section
nodiom_readExtract any Markdown section, heading, or list item by structural selector. Read precise content from files without regex or string manipulation.
Instructions
Returns the Markdown content at a structural location in a file. Use a selector like "# Heading > ## Subheading" to address any section. Use "# H1 > ## H2 > li[0]" to read a specific list item. Returns the raw Markdown string of the matched content.
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_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute path to the Markdown file. | |
| selector | Yes | Structural selector. Examples: "# Project > ## Tasks", "## Notes > p[0]", "## Tasks > li[-1]" |