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

# Get Organizations And Workspaces

**Tool name** `get_orgs_and_workspaces`

<Info>Read-only · Idempotent</Info>

Returns the organizations and workspaces accessible to the authenticated user.

## Example prompt

> Which organizations and workspaces do I have access to?

## Parameters

This tool takes no parameters.

## Returns

<ResponseField name="organizations" type="OrganizationWithWorkspaces[]">
  <Expandable title="OrganizationWithWorkspaces">
    <ResponseField name="name" type="string" required />

    <ResponseField name="organization_id" type="string (uuid)" required />

    <ResponseField name="workspaces" type="WorkspaceInfo[]">
      <Expandable title="WorkspaceInfo">
        <ResponseField name="name" type="string" required />

        <ResponseField name="workspace_id" type="string (uuid)" required />
      </Expandable>
    </ResponseField>
  </Expandable>
</ResponseField>
