list
List files and folders under a path. Non-recursive by default: folders are synthesized from file paths. Pass recursive to list an entire subtree. Pass q to find files by name anywhere under path (case-insensitive substring of the full path; implies recursive). Omit workspace to search every workspace this token can reach. Always returns one result block per workspace searched, each with its own entries and next_cursor; limit applies per workspace. To page, call again with that block's workspace and next_cursor.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Find files whose full path contains this text, case-insensitive. Implies recursive. | |
| path | No | Folder to list, relative to the workspace root. Empty string lists the root. | |
| limit | No | Max entries to return per workspace. | |
| cursor | No | next_cursor from a previous call, to fetch the next page. Requires an explicit workspace. | |
| recursive | No | List the whole subtree under path instead of one level. | |
| workspace | No | Workspace slug. Optional, defaults to "temp". | |
| include_deleted | No | Include deleted files, each flagged with deleted: true. |