List in Notebook
AI-generatedSummary
Lists document files in the specified SiYuan notebook, returning each document’s ID, filename, title, update time, and file flags. The node reads top-level .sy files from the notebook’s data directory and looks up each title from its block attributes, falling back to the document ID if that lookup fails or has no title.
Inputs
- Notebook ID (required) — The unique ID of the notebook to list.
Output shape
A list of document records, with one record for each top-level .sy file found in the notebook.
Each record contains
id,name,title,updated,isDir, andisSymlink. The operation returns an empty list if the directory response is not an array or contains no.syfiles. The node emits this list as the item’s JSON result.