list_files
List files in a directory with optional recursion and depth control, excluding specific directories.
Instructions
列出目录内容或递归获取目录树
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | 递归深度 | |
| dirpath | No | 目录路径 | |
| exclude | No | 排除的目录 | |
| recursive | No | 是否递归列出 (树状结构) |