List files
project_list_filesLists files and directories in the workspace, showing a depth-limited tree in one call to inspect paths before reading. Use it to check directory structure or find files.
Instructions
List files/directories in the workspace. depth 1..3 shows the tree in a single call. Use when: you need to see the directory tree, check a path, or list files before reading. Avoid when: you only need one file's metadata (project_get_file_info) or one file's contents (project_read_file). Speed: fast; TTL cache 1.5s, auto-wiped on write/edit/delete. Output: file_list: entries, truncated, hint. Batch-safe: yes
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | ||
| limit | No | ||
| relative_path | No | Path inside the workspace (relative, or absolute inside the workspace) | |
| include_ignored | No |