> ## Documentation Index
> Fetch the complete documentation index at: https://www.posted.cc/llms.txt
> Use this file to discover all available pages before exploring further.

# list_workspaces

> List workspaces with Posted MCP.

List workspaces available to this client. Use a returned workspaceId, including Default, for every subsequent action.

## Workflow

```mermaid theme={"system"}
flowchart LR
  step0["Read available workspaces"] --> step1
  step1["Choose the workspace"] --> step2
  step2["Perform the action"]
```

## Access and behavior

A Read-only, Write or Administrator OAuth grant can call this tool within the user’s current team role. Tools are listed and callable only when the current grant and role permit them.

Additional workspaces require membership. Existing team roles apply. Default is available to everyone and cannot be deleted. Only an empty additional workspace can be deleted.

## Arguments

| Argument | Required | Type or meaning |
| - | - | - |
| None | No | Pass an empty object. |

> **Complete input schema**
>
> ```json theme={"system"}
> {
>   "type": "object",
>   "properties": {},
>   "additionalProperties": false
> }
> ```

## Example call

The client initializes the MCP connection before sending this JSON-RPC call. Example records are fictional.

```json theme={"system"}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_workspaces",
    "arguments": {}
  }
}
```

## Example result

Posted returns this object in `structuredContent` and a JSON text content block. A tool failure sets `isError`; never treat an error as a completed mutation.

```json theme={"system"}
{
  "items": [
    {
      "id": "55555555-5555-4555-8555-555555555555",
      "name": "Default",
      "description": "",
      "isDefault": true,
      "createdAt": "2027-01-18T09:30:00.000Z",
      "updatedAt": "2027-01-18T09:30:00.000Z"
    }
  ]
}
```

## Related reference

[HTTP operation](https://www.posted.cc/api-reference/get_api_workspaces.md) · [Connect an MCP client](https://www.posted.cc/mcp-connections.md) · [Request conventions](https://www.posted.cc/api-reference/overview.md)


## Related topics

- [List workspaces](https://www.posted.cc/api-reference/get_api_workspaces.md)
- [list_workspace_members](https://www.posted.cc/mcp-reference/list_workspace_members.md)
- [List workspace API keys and MCP grants](https://www.posted.cc/api-reference/get_api_workspace_credentials.md)
- [list_connections](https://www.posted.cc/mcp-reference/list_connections.md)
- [list_providers](https://www.posted.cc/mcp-reference/list_providers.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.