Google Cloud Platform · Capability

Google Cloud Platform Google Cloud Resource Manager API — Organizations

Google Cloud Platform Google Cloud Resource Manager API — Organizations. 4 operations. Lead operation: Google Cloud Platform Get an Organization. Self-contained Naftiko capability covering one Google Cloud Platform business surface.

Run with Naftiko Google Cloud PlatformOrganizations

What You Can Do

GET
Cloudresourcemanagerorganizationsget — Google Cloud Platform Get an Organization
/v1/v3/organizations/{organizationid}
POST
Cloudresourcemanagerorganizationsgetiampolicy — Google Cloud Platform Get Organization Iam Policy
/v1/v3/organizations/resource-getiampolicy
POST
Cloudresourcemanagerorganizationssetiampolicy — Google Cloud Platform Set Organization Iam Policy
/v1/v3/organizations/resource-setiampolicy
GET
Cloudresourcemanagerorganizationssearch — Google Cloud Platform Search Organizations
/v1/v3/organizations-search

MCP Tools

google-cloud-platform-get-organization

Google Cloud Platform Get an Organization

read-only idempotent
google-cloud-platform-get-organization-2

Google Cloud Platform Get Organization Iam Policy

read-only
google-cloud-platform-set-organization

Google Cloud Platform Set Organization Iam Policy

google-cloud-platform-search-organizations

Google Cloud Platform Search Organizations

read-only idempotent

Capability Spec

cloud-resource-manager-organizations.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Google Cloud Platform Google Cloud Resource Manager API — Organizations
  description: 'Google Cloud Platform Google Cloud Resource Manager API — Organizations. 4 operations. Lead operation: Google
    Cloud Platform Get an Organization. Self-contained Naftiko capability covering one Google Cloud Platform business surface.'
  tags:
  - Google Cloud Platform
  - Organizations
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GOOGLE_CLOUD_PLATFORM_API_KEY: GOOGLE_CLOUD_PLATFORM_API_KEY
capability:
  consumes:
  - type: http
    namespace: cloud-resource-manager-organizations
    baseUri: https://cloudresourcemanager.googleapis.com
    description: Google Cloud Platform Google Cloud Resource Manager API — Organizations business capability. Self-contained,
      no shared references.
    resources:
    - name: v3-organizations-organizationId
      path: /v3/organizations/{organizationId}
      operations:
      - name: cloudresourcemanagerorganizationsget
        method: GET
        description: Google Cloud Platform Get an Organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: organizationId
          in: path
          type: string
          description: The resource name of the organization to fetch, such as organizations/12345.
          required: true
    - name: v3-organizations-resource}:getIamPolicy
      path: /v3/organizations/{resource}:getIamPolicy
      operations:
      - name: cloudresourcemanagerorganizationsgetiampolicy
        method: POST
        description: Google Cloud Platform Get Organization Iam Policy
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: resource
          in: path
          type: string
          description: The resource name of the organization.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v3-organizations-resource}:setIamPolicy
      path: /v3/organizations/{resource}:setIamPolicy
      operations:
      - name: cloudresourcemanagerorganizationssetiampolicy
        method: POST
        description: Google Cloud Platform Set Organization Iam Policy
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: resource
          in: path
          type: string
          description: The resource name of the organization.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v3-organizations:search
      path: /v3/organizations:search
      operations:
      - name: cloudresourcemanagerorganizationssearch
        method: GET
        description: Google Cloud Platform Search Organizations
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: query
          in: query
          type: string
          description: 'An optional query string used to filter organizations. Supported filter fields include domain and
            displayName. Example: domain:example.com.'
        - name: pageSize
          in: query
          type: integer
          description: Maximum number of organizations to return.
        - name: pageToken
          in: query
          type: string
          description: Pagination token from a previous search call.
    authentication:
      type: bearer
      token: '{{env.GOOGLE_CLOUD_PLATFORM_API_KEY}}'
  exposes:
  - type: rest
    namespace: cloud-resource-manager-organizations-rest
    port: 8080
    description: REST adapter for Google Cloud Platform Google Cloud Resource Manager API — Organizations. One Spectral-compliant
      resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/v3/organizations/{organizationid}
      name: v3-organizations-organizationid
      description: REST surface for v3-organizations-organizationId.
      operations:
      - method: GET
        name: cloudresourcemanagerorganizationsget
        description: Google Cloud Platform Get an Organization
        call: cloud-resource-manager-organizations.cloudresourcemanagerorganizationsget
        with:
          organizationId: rest.organizationId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v3/organizations/resource-getiampolicy
      name: v3-organizations-resource-getiampolicy
      description: REST surface for v3-organizations-resource}:getIamPolicy.
      operations:
      - method: POST
        name: cloudresourcemanagerorganizationsgetiampolicy
        description: Google Cloud Platform Get Organization Iam Policy
        call: cloud-resource-manager-organizations.cloudresourcemanagerorganizationsgetiampolicy
        with:
          resource: rest.resource
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v3/organizations/resource-setiampolicy
      name: v3-organizations-resource-setiampolicy
      description: REST surface for v3-organizations-resource}:setIamPolicy.
      operations:
      - method: POST
        name: cloudresourcemanagerorganizationssetiampolicy
        description: Google Cloud Platform Set Organization Iam Policy
        call: cloud-resource-manager-organizations.cloudresourcemanagerorganizationssetiampolicy
        with:
          resource: rest.resource
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v3/organizations-search
      name: v3-organizations-search
      description: REST surface for v3-organizations:search.
      operations:
      - method: GET
        name: cloudresourcemanagerorganizationssearch
        description: Google Cloud Platform Search Organizations
        call: cloud-resource-manager-organizations.cloudresourcemanagerorganizationssearch
        with:
          query: rest.query
          pageSize: rest.pageSize
          pageToken: rest.pageToken
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: cloud-resource-manager-organizations-mcp
    port: 9090
    transport: http
    description: MCP adapter for Google Cloud Platform Google Cloud Resource Manager API — Organizations. One tool per consumed
      operation, routed inline through this capability's consumes block.
    tools:
    - name: google-cloud-platform-get-organization
      description: Google Cloud Platform Get an Organization
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloud-resource-manager-organizations.cloudresourcemanagerorganizationsget
      with:
        organizationId: tools.organizationId
      outputParameters:
      - type: object
        mapping: $.
    - name: google-cloud-platform-get-organization-2
      description: Google Cloud Platform Get Organization Iam Policy
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: cloud-resource-manager-organizations.cloudresourcemanagerorganizationsgetiampolicy
      with:
        resource: tools.resource
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: google-cloud-platform-set-organization
      description: Google Cloud Platform Set Organization Iam Policy
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: cloud-resource-manager-organizations.cloudresourcemanagerorganizationssetiampolicy
      with:
        resource: tools.resource
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: google-cloud-platform-search-organizations
      description: Google Cloud Platform Search Organizations
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloud-resource-manager-organizations.cloudresourcemanagerorganizationssearch
      with:
        query: tools.query
        pageSize: tools.pageSize
        pageToken: tools.pageToken
      outputParameters:
      - type: object
        mapping: $.