get_node_content
Read original Markdown for specific document nodes with line numbers and pagination, so you can cite exact source ranges instead of reconstructing content.
Instructions
Read the original Markdown of one or more nodes, every line prefixed with its line number in the file ("123│ "). Reading a node returns its whole line range INCLUDING all of its subsections, so prefer the most specific (leaf) nodes for precision and read a parent only when you need the entire section. Copy each node_id verbatim from get_document_structure() or search_documents(); never construct one. Long content is split into parts: increment part until pagination.has_more is false. Cite what you use as [doc_path, L-] with the line numbers shown.
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": {
"doc_path": "<doc_path>",
"node_ids": "<node_ids>"
},
"name": "get_node_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| part | No | Part number for pagination (1-based, default 1). Increment until the response's `pagination.has_more` becomes false. | |
| doc_path | Yes | Library-relative path of the document, copied verbatim from a browse_documents() or search_documents() result (case-sensitive, include the extension). Example: "guides/setup.md". Never construct one. | |
| node_ids | Yes | Ids of the nodes to read (1-20), each copied verbatim from a get_document_structure() or search_documents() result. Never construct one. |