工具 API
get_ folder_ structure
Orientation step: show the folder hierarchy as a tree (like `tree -d`). **Call this before browse_documents()** to plan targeted retrieval — folder names reveal content domains (e.g. "Research", "Finance") and return folder IDs you pass to browse_documents(folder_id=…). Wait for this result before issuing browse_documents() or search_documents(). For folder_id="root" (default), returns the entire folder tree; for a specific folder_id, returns that subtree only.
调用信息
- 工具标识
- pageindex-mcp.get_folder_structure
- 服务提供方
- PageIndex
- 平均响应
- 0 ms
- 近 7 天调用
- 0
输入参数
folder_idSubtree root (default "root" = entire library). Pass a specific folder ID to get only that subtree, or "shared-with-me"/"following" for the read-only folders at the library root. Copy any folder_id verbatim from a browse/tree response, never construct one. Ignored when `path` is provided.
pathHuman-readable folder path (e.g. "Research/Papers/2024"). Alternative to folder_id — copy a `path` value from any browse_documents() or search_documents() response. When provided, folder_id is ignored.
depthMaximum depth to traverse (1-10, default 10). Use a smaller value for very large folder trees.
include_countsInclude file_count and children_count per folder (default true). Set false to reduce response size; the root node of the tree always carries its counts regardless of this flag.