Skip to content

Docs

list_workspaces

List the workspaces (brands: a company or a side project) you can work in, with your role in each. Call this first: every other tool takes a workspaceId from this list. An agent only sees the workspaces its owner granted it. `publishing.paused`: draft only.

List the workspaces (brands: a company or a side project) you can work in, with your role in each. Call this first: every other tool takes a workspaceId from this list. An agent only sees the workspaces its owner granted it. publishing.paused: draft only.

Access and cost

  • Kind: query
  • Scope: account
  • Actors: member, agent
  • Credits: Free
  • Requires confirmation: false
  • Accepts idempotency key: false

Input schema

{
  "properties": {},
  "type": "object"
}

Output schema

{
  "additionalProperties": false,
  "properties": {
    "workspaces": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "timeZone": {
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "role": {
            "enum": [
              "owner",
              "editor",
              "viewer",
              "commenter",
              "approver"
            ],
            "type": "string"
          },
          "publishing": {
            "additionalProperties": false,
            "properties": {
              "paused": {
                "type": "boolean"
              },
              "pausedAt": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "pausedByAccountId": {
                "anyOf": [
                  {
                    "format": "uuid",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "pausedPlatforms": {
                "items": {
                  "enum": [
                    "x",
                    "linkedin",
                    "threads",
                    "bluesky",
                    "instagram",
                    "facebook",
                    "tiktok",
                    "youtube",
                    "sandbox"
                  ],
                  "type": "string"
                },
                "type": "array"
              },
              "delayed": {
                "type": "boolean"
              }
            },
            "required": [
              "paused",
              "pausedAt",
              "pausedByAccountId",
              "pausedPlatforms",
              "delayed"
            ],
            "type": "object"
          }
        },
        "required": [
          "id",
          "name",
          "timeZone",
          "createdAt",
          "role",
          "publishing"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "workspaces"
  ],
  "type": "object"
}

Errors

[]

Annotations

{
  "destructiveHint": false,
  "idempotentHint": true,
  "openWorldHint": false,
  "readOnlyHint": true,
  "title": "List workspaces"
}