getFileTree
Retrieve a filtered workspace file tree that respects .gitignore and skips common build artifacts. Optionally specify subdirectory, depth, hidden files, and entry limit.
Instructions
Workspace file tree. Respects .gitignore. Skips node_modules, .git, dist, build, coverage.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | No | Subdirectory to list (relative to workspace, default: root) | |
| maxDepth | No | Maximum directory depth (default: 3, max: 10) | |
| includeHidden | No | Include hidden files/dirs (default: false) | |
| maxEntries | No | Max entries to return (default: 500, max: 2000) |