# list_folders **List immut folders** List folders in a workspace so you can file a document in the right place. Omit parentFolder for top-level; pass a folder id for its children, or "all" for every folder at all depths. Read-only. - Access: read-only - Calls: `/api/v1/folders` ## Arguments | Name | Type | Required | Description | |---|---|---|---| | `workspace` | string | **yes** | Workspace id | | `parentFolder` | string | no | Parent folder id, or "all" for every folder | ## Tool contract ```json { "name": "list_folders", "title": "List immut folders", "description": "List folders in a workspace so you can file a document in the right place. Omit parentFolder for top-level; pass a folder id for its children, or \"all\" for every folder at all depths. Read-only.", "access": "read", "destructive": false, "hostedOnProduction": true, "restEndpoint": "/api/v1/folders", "arguments": { "workspace": { "type": "string", "required": true, "description": "Workspace id" }, "parentFolder": { "type": "string", "required": false, "description": "Parent folder id, or \"all\" for every folder" } } } ```