文件夹列表
gwl_list_foldersLists folders only (no documents) with IDs, names, scope, hierarchy, and metadata. Filter by scope or parent ID to get all visible folders, root-level items, or direct children.
Instructions
只列文件夹(不含文档),返回裸数组:id、name、scope、user_id、group_name、parent_id、sort_order、is_active、created_at、updated_at;group 范围的项还带 class_id/org_id/group_root。 scope 省略时返回我全部可见的文件夹;parent_id=0 只取根级,正整数只取该文件夹的直接子级,省略则返回全部层级。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "gwl_list_folders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | 文档范围;省略=我可见的全部范围。 | |
| parent_id | No | 父文件夹 id:0=根级,正整数=该文件夹的直接子级,省略=全部层级。 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||