naftiko: 1.0.0-alpha2 info: label: Google Cloud Build API — Triggers description: 'Google Cloud Build API — Triggers. 5 operations. Lead operation: Google Cloud Build List build triggers. Self-contained Naftiko capability covering one Google Cloud Build business surface.' tags: - Google Cloud Build - Triggers created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GOOGLE_CLOUD_BUILD_API_KEY: GOOGLE_CLOUD_BUILD_API_KEY capability: consumes: - type: http namespace: cloud-build-triggers baseUri: https://cloudbuild.googleapis.com/v1 description: Google Cloud Build API — Triggers business capability. Self-contained, no shared references. resources: - name: projects-projectId-triggers path: /projects/{projectId}/triggers operations: - name: listtriggers method: GET description: Google Cloud Build List build triggers outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createtrigger method: POST description: Google Cloud Build Create a build trigger outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: projects-projectId-triggers-triggerId path: /projects/{projectId}/triggers/{triggerId} operations: - name: gettrigger method: GET description: Google Cloud Build Get a build trigger outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updatetrigger method: PATCH description: Google Cloud Build Update a build trigger outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deletetrigger method: DELETE description: Google Cloud Build Delete a build trigger outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.GOOGLE_CLOUD_BUILD_API_KEY}}' exposes: - type: rest namespace: cloud-build-triggers-rest port: 8080 description: REST adapter for Google Cloud Build API — Triggers. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/projects/{projectid}/triggers name: projects-projectid-triggers description: REST surface for projects-projectId-triggers. operations: - method: GET name: listtriggers description: Google Cloud Build List build triggers call: cloud-build-triggers.listtriggers outputParameters: - type: object mapping: $. - method: POST name: createtrigger description: Google Cloud Build Create a build trigger call: cloud-build-triggers.createtrigger with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/projects/{projectid}/triggers/{triggerid} name: projects-projectid-triggers-triggerid description: REST surface for projects-projectId-triggers-triggerId. operations: - method: GET name: gettrigger description: Google Cloud Build Get a build trigger call: cloud-build-triggers.gettrigger outputParameters: - type: object mapping: $. - method: PATCH name: updatetrigger description: Google Cloud Build Update a build trigger call: cloud-build-triggers.updatetrigger with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletetrigger description: Google Cloud Build Delete a build trigger call: cloud-build-triggers.deletetrigger outputParameters: - type: object mapping: $. - type: mcp namespace: cloud-build-triggers-mcp port: 9090 transport: http description: MCP adapter for Google Cloud Build API — Triggers. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: google-cloud-build-list-build description: Google Cloud Build List build triggers hints: readOnly: true destructive: false idempotent: true call: cloud-build-triggers.listtriggers outputParameters: - type: object mapping: $. - name: google-cloud-build-create-build description: Google Cloud Build Create a build trigger hints: readOnly: false destructive: false idempotent: false call: cloud-build-triggers.createtrigger with: body: tools.body outputParameters: - type: object mapping: $. - name: google-cloud-build-get-build description: Google Cloud Build Get a build trigger hints: readOnly: true destructive: false idempotent: true call: cloud-build-triggers.gettrigger outputParameters: - type: object mapping: $. - name: google-cloud-build-update-build description: Google Cloud Build Update a build trigger hints: readOnly: false destructive: false idempotent: true call: cloud-build-triggers.updatetrigger with: body: tools.body outputParameters: - type: object mapping: $. - name: google-cloud-build-delete-build description: Google Cloud Build Delete a build trigger hints: readOnly: false destructive: true idempotent: true call: cloud-build-triggers.deletetrigger outputParameters: - type: object mapping: $.