---
title: "List Folders"
description: "List all folders in the workspace with pagination and sorting."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.speakai.co/llms.txt
> Use this file to discover all available pages before exploring further.

# List Folders

Use the Speak AI MCP server tool `list_folders` to list all folders in the workspace
with pagination and sorting.

## What does it do?

List all folders in the workspace with pagination and sorting.

## Parameters

`list_folders` takes 3 parameters, all of them optional.

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `page` | number | No | Page number (0-based, default: 0) |
| `pageSize` | number | No | Results per page (default: 20, max: 500) |
| `sortBy` | string | No | Sort field and direction, e.g. "createdAt:desc" |

## Behaviour

The Speak AI MCP server publishes these behaviour hints for `list_folders`.

- Only reads data. Does not modify your workspace.
- Does not delete or overwrite existing data.
- Repeating an identical call is safe.
- Stays inside Speak AI. Does not reach other systems.

## Related

- [Folders & views](/mcp/tools/folders-views/) lists the rest of the Folders & views
  category.
- [Tool reference](/mcp/tools/) lists every Speak AI MCP server tool.
- [MCP server](/mcp/) covers setup, supported clients, and what agents can do once
  connected.

Source: https://docs.speakai.co/mcp/tools/folders-views/list_folders/index.mdx
