Parameters
No parameters.Response
Array of filesystem objects:| Field | Description |
|---|---|
slug | Identifier to pass as filesystem in other tools |
name | Display name |
isDefault | Whether this is the workspace’s default filesystem |
role | Your role in this filesystem: owner, edit, comment, or read |
When to Use
- Before creating a document — if you have access to multiple filesystems, pass the correct
filesystemslug todocumentswithaction: "create". Without it, creation may fail or land in the wrong filesystem. - Before running find/search — pass
filesystemto scope results to the right space.
Examples
Filtering at Startup
You can restrict an MCP session to specific filesystems at startup using the--filesystems flag or MOXN_FILESYSTEMS env var. This is injected automatically into all tool calls that accept a filesystem parameter:
Related
- Filesystems concept
find,search,documents,databases— all accept afilesystemparameter