naftiko: 1.0.0-alpha2 info: label: Google Cloud Functions API — Functions description: 'Google Cloud Functions API — Functions. 6 operations. Lead operation: Google Cloud Functions List functions. Self-contained Naftiko capability covering one Google Cloud Functions business surface.' tags: - Google Cloud Functions - Functions created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GOOGLE_CLOUD_FUNCTIONS_API_KEY: GOOGLE_CLOUD_FUNCTIONS_API_KEY capability: consumes: - type: http namespace: google-cloud-functions-functions baseUri: https://cloudfunctions.googleapis.com/v2 description: Google Cloud Functions API — Functions business capability. Self-contained, no shared references. resources: - name: projects-projectId-locations-location-functions path: /projects/{projectId}/locations/{location}/functions operations: - name: listfunctions method: GET description: Google Cloud Functions List functions 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: filter in: query type: string - name: orderBy in: query type: string - name: createfunction method: POST description: Google Cloud Functions Create a function 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: functionId in: query type: string - name: body in: body type: object description: Request body (JSON). required: true - name: projects-projectId-locations-location-functions-functionId path: /projects/{projectId}/locations/{location}/functions/{functionId} operations: - name: getfunction method: GET description: Google Cloud Functions Get a function 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: functionId in: path type: string required: true - name: updatefunction method: PATCH description: Google Cloud Functions Update a function 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: functionId 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: deletefunction method: DELETE description: Google Cloud Functions Delete a function 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: functionId in: path type: string required: true - name: projects-projectId-locations-location-functions-functionId}:generateUploadUrl path: /projects/{projectId}/locations/{location}/functions/{functionId}:generateUploadUrl operations: - name: generateuploadurl method: POST description: Google Cloud Functions Generate upload URL 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: functionId in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: false authentication: type: bearer token: '{{env.GOOGLE_CLOUD_FUNCTIONS_API_KEY}}' exposes: - type: rest namespace: google-cloud-functions-functions-rest port: 8080 description: REST adapter for Google Cloud Functions API — Functions. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/projects/{projectid}/locations/{location}/functions name: projects-projectid-locations-location-functions description: REST surface for projects-projectId-locations-location-functions. operations: - method: GET name: listfunctions description: Google Cloud Functions List functions call: google-cloud-functions-functions.listfunctions with: projectId: rest.projectId location: rest.location pageSize: rest.pageSize pageToken: rest.pageToken filter: rest.filter orderBy: rest.orderBy outputParameters: - type: object mapping: $. - method: POST name: createfunction description: Google Cloud Functions Create a function call: google-cloud-functions-functions.createfunction with: projectId: rest.projectId location: rest.location functionId: rest.functionId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/projects/{projectid}/locations/{location}/functions/{functionid} name: projects-projectid-locations-location-functions-functionid description: REST surface for projects-projectId-locations-location-functions-functionId. operations: - method: GET name: getfunction description: Google Cloud Functions Get a function call: google-cloud-functions-functions.getfunction with: projectId: rest.projectId location: rest.location functionId: rest.functionId outputParameters: - type: object mapping: $. - method: PATCH name: updatefunction description: Google Cloud Functions Update a function call: google-cloud-functions-functions.updatefunction with: projectId: rest.projectId location: rest.location functionId: rest.functionId updateMask: rest.updateMask body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletefunction description: Google Cloud Functions Delete a function call: google-cloud-functions-functions.deletefunction with: projectId: rest.projectId location: rest.location functionId: rest.functionId outputParameters: - type: object mapping: $. - path: /v1/projects/{projectid}/locations/{location}/functions/functionid-generateuploadurl name: projects-projectid-locations-location-functions-functionid-generateuploadurl description: REST surface for projects-projectId-locations-location-functions-functionId}:generateUploadUrl. operations: - method: POST name: generateuploadurl description: Google Cloud Functions Generate upload URL call: google-cloud-functions-functions.generateuploadurl with: projectId: rest.projectId location: rest.location functionId: rest.functionId body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: google-cloud-functions-functions-mcp port: 9090 transport: http description: MCP adapter for Google Cloud Functions API — Functions. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: google-cloud-functions-list-functions description: Google Cloud Functions List functions hints: readOnly: true destructive: false idempotent: true call: google-cloud-functions-functions.listfunctions with: projectId: tools.projectId location: tools.location pageSize: tools.pageSize pageToken: tools.pageToken filter: tools.filter orderBy: tools.orderBy outputParameters: - type: object mapping: $. - name: google-cloud-functions-create-function description: Google Cloud Functions Create a function hints: readOnly: false destructive: false idempotent: false call: google-cloud-functions-functions.createfunction with: projectId: tools.projectId location: tools.location functionId: tools.functionId body: tools.body outputParameters: - type: object mapping: $. - name: google-cloud-functions-get-function description: Google Cloud Functions Get a function hints: readOnly: true destructive: false idempotent: true call: google-cloud-functions-functions.getfunction with: projectId: tools.projectId location: tools.location functionId: tools.functionId outputParameters: - type: object mapping: $. - name: google-cloud-functions-update-function description: Google Cloud Functions Update a function hints: readOnly: false destructive: false idempotent: true call: google-cloud-functions-functions.updatefunction with: projectId: tools.projectId location: tools.location functionId: tools.functionId updateMask: tools.updateMask body: tools.body outputParameters: - type: object mapping: $. - name: google-cloud-functions-delete-function description: Google Cloud Functions Delete a function hints: readOnly: false destructive: true idempotent: true call: google-cloud-functions-functions.deletefunction with: projectId: tools.projectId location: tools.location functionId: tools.functionId outputParameters: - type: object mapping: $. - name: google-cloud-functions-generate-upload description: Google Cloud Functions Generate upload URL hints: readOnly: false destructive: false idempotent: false call: google-cloud-functions-functions.generateuploadurl with: projectId: tools.projectId location: tools.location functionId: tools.functionId body: tools.body outputParameters: - type: object mapping: $.