naftiko: 1.0.0-alpha2 info: label: Google Cloud Composer API — Environments description: 'Google Cloud Composer API — Environments. 5 operations. Lead operation: Google Cloud Composer List Composer environments. Self-contained Naftiko capability covering one Google Cloud Composer business surface.' tags: - Google Cloud Composer - Environments created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GOOGLE_CLOUD_COMPOSER_API_KEY: GOOGLE_CLOUD_COMPOSER_API_KEY capability: consumes: - type: http namespace: google-cloud-composer-environments baseUri: https://composer.googleapis.com/v1 description: Google Cloud Composer API — Environments business capability. Self-contained, no shared references. resources: - name: projects-projectId-locations-location-environments path: /projects/{projectId}/locations/{location}/environments operations: - name: listenvironments method: GET description: Google Cloud Composer List Composer environments outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectId in: path type: string required: true - name: location in: path type: string required: true - name: pageSize in: query type: integer - name: pageToken in: query type: string - name: createenvironment method: POST description: Google Cloud Composer Create a Composer environment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectId in: path type: string required: true - name: location in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: projects-projectId-locations-location-environments-environmentId path: /projects/{projectId}/locations/{location}/environments/{environmentId} operations: - name: getenvironment method: GET description: Google Cloud Composer Get a Composer environment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectId in: path type: string required: true - name: location in: path type: string required: true - name: environmentId in: path type: string required: true - name: updateenvironment method: PATCH description: Google Cloud Composer Update a Composer environment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectId in: path type: string required: true - name: location in: path type: string required: true - name: environmentId in: path type: string required: true - name: updateMask in: query type: string - name: body in: body type: object description: Request body (JSON). required: true - name: deleteenvironment method: DELETE description: Google Cloud Composer Delete a Composer environment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectId in: path type: string required: true - name: location in: path type: string required: true - name: environmentId in: path type: string required: true authentication: type: bearer token: '{{env.GOOGLE_CLOUD_COMPOSER_API_KEY}}' exposes: - type: rest namespace: google-cloud-composer-environments-rest port: 8080 description: REST adapter for Google Cloud Composer API — Environments. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/projects/{projectid}/locations/{location}/environments name: projects-projectid-locations-location-environments description: REST surface for projects-projectId-locations-location-environments. operations: - method: GET name: listenvironments description: Google Cloud Composer List Composer environments call: google-cloud-composer-environments.listenvironments with: projectId: rest.projectId location: rest.location pageSize: rest.pageSize pageToken: rest.pageToken outputParameters: - type: object mapping: $. - method: POST name: createenvironment description: Google Cloud Composer Create a Composer environment call: google-cloud-composer-environments.createenvironment with: projectId: rest.projectId location: rest.location body: rest.body outputParameters: - type: object mapping: $. - path: /v1/projects/{projectid}/locations/{location}/environments/{environmentid} name: projects-projectid-locations-location-environments-environmentid description: REST surface for projects-projectId-locations-location-environments-environmentId. operations: - method: GET name: getenvironment description: Google Cloud Composer Get a Composer environment call: google-cloud-composer-environments.getenvironment with: projectId: rest.projectId location: rest.location environmentId: rest.environmentId outputParameters: - type: object mapping: $. - method: PATCH name: updateenvironment description: Google Cloud Composer Update a Composer environment call: google-cloud-composer-environments.updateenvironment with: projectId: rest.projectId location: rest.location environmentId: rest.environmentId updateMask: rest.updateMask body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteenvironment description: Google Cloud Composer Delete a Composer environment call: google-cloud-composer-environments.deleteenvironment with: projectId: rest.projectId location: rest.location environmentId: rest.environmentId outputParameters: - type: object mapping: $. - type: mcp namespace: google-cloud-composer-environments-mcp port: 9090 transport: http description: MCP adapter for Google Cloud Composer API — Environments. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: google-cloud-composer-list-composer description: Google Cloud Composer List Composer environments hints: readOnly: true destructive: false idempotent: true call: google-cloud-composer-environments.listenvironments with: projectId: tools.projectId location: tools.location pageSize: tools.pageSize pageToken: tools.pageToken outputParameters: - type: object mapping: $. - name: google-cloud-composer-create-composer description: Google Cloud Composer Create a Composer environment hints: readOnly: false destructive: false idempotent: false call: google-cloud-composer-environments.createenvironment with: projectId: tools.projectId location: tools.location body: tools.body outputParameters: - type: object mapping: $. - name: google-cloud-composer-get-composer description: Google Cloud Composer Get a Composer environment hints: readOnly: true destructive: false idempotent: true call: google-cloud-composer-environments.getenvironment with: projectId: tools.projectId location: tools.location environmentId: tools.environmentId outputParameters: - type: object mapping: $. - name: google-cloud-composer-update-composer description: Google Cloud Composer Update a Composer environment hints: readOnly: false destructive: false idempotent: true call: google-cloud-composer-environments.updateenvironment with: projectId: tools.projectId location: tools.location environmentId: tools.environmentId updateMask: tools.updateMask body: tools.body outputParameters: - type: object mapping: $. - name: google-cloud-composer-delete-composer description: Google Cloud Composer Delete a Composer environment hints: readOnly: false destructive: true idempotent: true call: google-cloud-composer-environments.deleteenvironment with: projectId: tools.projectId location: tools.location environmentId: tools.environmentId outputParameters: - type: object mapping: $.