get_node_section
Extract a named section from a discourse node page by UID, returning its content tree; omit the section or use '*' to retrieve all sections.
Instructions
Extract a specific section from a discourse node's page. Discourse nodes are created with templates that define sections (e.g., 'Summary::', 'Evidence::', 'Lab Notes::'). This tool finds the matching section block and returns its content tree. If section is omitted or '*', returns all sections.
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": {
"uid": "<uid>",
"section": "<section>"
},
"name": "get_node_section"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | The page UID of the discourse node. | |
| graph | No | Graph name or nickname. | |
| section | Yes | The section name to extract (e.g., 'Summary', 'Evidence', 'Lab Notes'). Matches case-insensitively. Handles Roam attribute syntax (with or without '::'). | |
| max_depth | No | Maximum child depth to fetch. Default 10. Increase for deeply nested pages. |