naftiko: 1.0.0-alpha2 info: label: Google Cloud Build API — Builds description: 'Google Cloud Build API — Builds. 4 operations. Lead operation: Google Cloud Build List builds. Self-contained Naftiko capability covering one Google Cloud Build business surface.' tags: - Google Cloud Build - Builds 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-builds baseUri: https://cloudbuild.googleapis.com/v1 description: Google Cloud Build API — Builds business capability. Self-contained, no shared references. resources: - name: projects-projectId-builds path: /projects/{projectId}/builds operations: - name: listbuilds method: GET description: Google Cloud Build List builds outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: filter in: query type: string description: The raw filter text to constrain the results - name: createbuild method: POST description: Google Cloud Build Create a build outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: projects-projectId-builds-buildId path: /projects/{projectId}/builds/{buildId} operations: - name: getbuild method: GET description: Google Cloud Build Get a build outputRawFormat: json outputParameters: - name: result type: object value: $. - name: projects-projectId-builds-buildId}:cancel path: /projects/{projectId}/builds/{buildId}:cancel operations: - name: cancelbuild method: POST description: Google Cloud Build Cancel a build outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.GOOGLE_CLOUD_BUILD_API_KEY}}' exposes: - type: rest namespace: cloud-build-builds-rest port: 8080 description: REST adapter for Google Cloud Build API — Builds. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/projects/{projectid}/builds name: projects-projectid-builds description: REST surface for projects-projectId-builds. operations: - method: GET name: listbuilds description: Google Cloud Build List builds call: cloud-build-builds.listbuilds with: filter: rest.filter outputParameters: - type: object mapping: $. - method: POST name: createbuild description: Google Cloud Build Create a build call: cloud-build-builds.createbuild with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/projects/{projectid}/builds/{buildid} name: projects-projectid-builds-buildid description: REST surface for projects-projectId-builds-buildId. operations: - method: GET name: getbuild description: Google Cloud Build Get a build call: cloud-build-builds.getbuild outputParameters: - type: object mapping: $. - path: /v1/projects/{projectid}/builds/buildid-cancel name: projects-projectid-builds-buildid-cancel description: REST surface for projects-projectId-builds-buildId}:cancel. operations: - method: POST name: cancelbuild description: Google Cloud Build Cancel a build call: cloud-build-builds.cancelbuild outputParameters: - type: object mapping: $. - type: mcp namespace: cloud-build-builds-mcp port: 9090 transport: http description: MCP adapter for Google Cloud Build API — Builds. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: google-cloud-build-list-builds description: Google Cloud Build List builds hints: readOnly: true destructive: false idempotent: true call: cloud-build-builds.listbuilds with: filter: tools.filter outputParameters: - type: object mapping: $. - name: google-cloud-build-create-build description: Google Cloud Build Create a build hints: readOnly: false destructive: false idempotent: false call: cloud-build-builds.createbuild with: body: tools.body outputParameters: - type: object mapping: $. - name: google-cloud-build-get-build description: Google Cloud Build Get a build hints: readOnly: true destructive: false idempotent: true call: cloud-build-builds.getbuild outputParameters: - type: object mapping: $. - name: google-cloud-build-cancel-build description: Google Cloud Build Cancel a build hints: readOnly: false destructive: false idempotent: false call: cloud-build-builds.cancelbuild outputParameters: - type: object mapping: $.