Read workspace
read_workspaceList files in a workspace or retrieve a file's content by path, excluding node_modules and .git, with sorted listings for consistent inspections.
Instructions
Lists the files in a workspace, or returns the contents of one file when path is given. node_modules and .git are excluded from listings. Listings are sorted, so repeated calls match.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Workspace-relative file path. Omit to list all files. | |
| workspaceId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| files | No | ||
| contents | No |