Skip to main content
FuseFuse
IntegrationsGoogle workspaceActions

List Google Workspace org units

List organizational units in the Workspace directory.

Agent markdown

org_units.list · Google Workspace · v1

Details

Risk
Read
Idempotency
Safe
Availability
Default
Exposure
REST, SDK, MCP
MCP hints
readOnly=true, destructive=false, idempotent=true, openWorld=true

Scopes

  • https://www.googleapis.com/auth/admin.directory.orgunit.readonly

Input

Input schema
NameTypeRequiredConstraints
(root)objectYesadditionalProperties false
customerstringNominLength 1; maxLength 128
org_unit_pathstringNominLength 1; maxLength 512
typestringNoenum all | children | allIncludingParent

Output

Output schema
NameTypeRequiredConstraints
(root)objectYesadditionalProperties false
org_unitsarray<object>YesmaxItems 500
org_units[]objectYesadditionalProperties false
org_units[].idstringYesmaxLength 256
org_units[].namestringYesmaxLength 256
org_units[].org_unit_pathstringYesmaxLength 512
org_units[].parent_org_unit_pathstringNomaxLength 512

Raw schema

Input
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "customer": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128
    },
    "org_unit_path": {
      "type": "string",
      "minLength": 1,
      "maxLength": 512
    },
    "type": {
      "type": "string",
      "enum": [
        "all",
        "children",
        "allIncludingParent"
      ]
    }
  }
}
Output
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "org_units": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "maxLength": 256
          },
          "name": {
            "type": "string",
            "maxLength": 256
          },
          "org_unit_path": {
            "type": "string",
            "maxLength": 512
          },
          "parent_org_unit_path": {
            "type": "string",
            "maxLength": 512
          }
        },
        "required": [
          "id",
          "name",
          "org_unit_path"
        ]
      },
      "maxItems": 500
    }
  },
  "required": [
    "org_units"
  ]
}