Query node metadata
nodiom_queryCheck if a Markdown section exists and retrieve its type, depth, and child count to avoid errors before reading or writing to it.
Instructions
Returns structural metadata about a location: whether it exists, its type, depth, and child count. Use this to check if a section exists before reading or writing to it.
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_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute path to the Markdown file. | |
| selector | Yes | Selector to query. Example: "## Tasks > ### Active" |