Get note tree
get_note_treeExplore the note hierarchy from any note by expanding child levels and returning titles, types, note IDs, and branch IDs for organizing or drilling into subtrees.
Instructions
Explore the note hierarchy from a note, expanding children "depth" levels (default 1). Each node has noteId, title, type, childCount and childBranchIds; expanded children also carry their own branchId (what organize_note reorder/unlink need). Nodes at the depth boundary list childNoteIds for a follow-up call. System notes (IDs starting with "_") are skipped unless you start from one. At most 200 notes per call; the response is marked truncated when the cap is hit.
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": {
"noteId": "<noteId>"
},
"name": "get_note_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | How many levels of children to expand (default 1, max 5). Expanded nodes include title/type; nodes at the boundary include childNoteIds for further drilling. | |
| noteId | Yes | ID of the note to expand ("root" for the top of the tree). |