naftiko: 1.0.0-alpha2 info: label: Google Cloud Dataproc API — Jobs description: 'Google Cloud Dataproc API — Jobs. 5 operations. Lead operation: Google Cloud Dataproc List jobs. Self-contained Naftiko capability covering one Google Cloud Dataproc business surface.' tags: - Google Cloud Dataproc - Jobs created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GOOGLE_CLOUD_DATAPROC_API_KEY: GOOGLE_CLOUD_DATAPROC_API_KEY capability: consumes: - type: http namespace: cloud-dataproc-jobs baseUri: https://dataproc.googleapis.com/v1 description: Google Cloud Dataproc API — Jobs business capability. Self-contained, no shared references. resources: - name: projects-project-regions-region-jobs path: /projects/{project}/regions/{region}/jobs operations: - name: listjobs method: GET description: Google Cloud Dataproc List jobs outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: project in: path type: string required: true - name: region in: path type: string required: true - name: pageSize in: query type: integer - name: pageToken in: query type: string - name: clusterName in: query type: string - name: jobStateMatcher in: query type: string - name: projects-project-regions-region-jobs-jobId path: /projects/{project}/regions/{region}/jobs/{jobId} operations: - name: getjob method: GET description: Google Cloud Dataproc Get a job outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: project in: path type: string required: true - name: region in: path type: string required: true - name: jobId in: path type: string required: true - name: deletejob method: DELETE description: Google Cloud Dataproc Delete a job outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: project in: path type: string required: true - name: region in: path type: string required: true - name: jobId in: path type: string required: true - name: projects-project-regions-region-jobs-jobId}:cancel path: /projects/{project}/regions/{region}/jobs/{jobId}:cancel operations: - name: canceljob method: POST description: Google Cloud Dataproc Cancel a job outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: project in: path type: string required: true - name: region in: path type: string required: true - name: jobId in: path type: string required: true - name: projects-project-regions-region-jobs:submit path: /projects/{project}/regions/{region}/jobs:submit operations: - name: submitjob method: POST description: Google Cloud Dataproc Submit a job outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: project in: path type: string required: true - name: region in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.GOOGLE_CLOUD_DATAPROC_API_KEY}}' exposes: - type: rest namespace: cloud-dataproc-jobs-rest port: 8080 description: REST adapter for Google Cloud Dataproc API — Jobs. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/projects/{project}/regions/{region}/jobs name: projects-project-regions-region-jobs description: REST surface for projects-project-regions-region-jobs. operations: - method: GET name: listjobs description: Google Cloud Dataproc List jobs call: cloud-dataproc-jobs.listjobs with: project: rest.project region: rest.region pageSize: rest.pageSize pageToken: rest.pageToken clusterName: rest.clusterName jobStateMatcher: rest.jobStateMatcher outputParameters: - type: object mapping: $. - path: /v1/projects/{project}/regions/{region}/jobs/{jobid} name: projects-project-regions-region-jobs-jobid description: REST surface for projects-project-regions-region-jobs-jobId. operations: - method: GET name: getjob description: Google Cloud Dataproc Get a job call: cloud-dataproc-jobs.getjob with: project: rest.project region: rest.region jobId: rest.jobId outputParameters: - type: object mapping: $. - method: DELETE name: deletejob description: Google Cloud Dataproc Delete a job call: cloud-dataproc-jobs.deletejob with: project: rest.project region: rest.region jobId: rest.jobId outputParameters: - type: object mapping: $. - path: /v1/projects/{project}/regions/{region}/jobs/jobid-cancel name: projects-project-regions-region-jobs-jobid-cancel description: REST surface for projects-project-regions-region-jobs-jobId}:cancel. operations: - method: POST name: canceljob description: Google Cloud Dataproc Cancel a job call: cloud-dataproc-jobs.canceljob with: project: rest.project region: rest.region jobId: rest.jobId outputParameters: - type: object mapping: $. - path: /v1/projects/{project}/regions/{region}/jobs-submit name: projects-project-regions-region-jobs-submit description: REST surface for projects-project-regions-region-jobs:submit. operations: - method: POST name: submitjob description: Google Cloud Dataproc Submit a job call: cloud-dataproc-jobs.submitjob with: project: rest.project region: rest.region body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: cloud-dataproc-jobs-mcp port: 9090 transport: http description: MCP adapter for Google Cloud Dataproc API — Jobs. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: google-cloud-dataproc-list-jobs description: Google Cloud Dataproc List jobs hints: readOnly: true destructive: false idempotent: true call: cloud-dataproc-jobs.listjobs with: project: tools.project region: tools.region pageSize: tools.pageSize pageToken: tools.pageToken clusterName: tools.clusterName jobStateMatcher: tools.jobStateMatcher outputParameters: - type: object mapping: $. - name: google-cloud-dataproc-get-job description: Google Cloud Dataproc Get a job hints: readOnly: true destructive: false idempotent: true call: cloud-dataproc-jobs.getjob with: project: tools.project region: tools.region jobId: tools.jobId outputParameters: - type: object mapping: $. - name: google-cloud-dataproc-delete-job description: Google Cloud Dataproc Delete a job hints: readOnly: false destructive: true idempotent: true call: cloud-dataproc-jobs.deletejob with: project: tools.project region: tools.region jobId: tools.jobId outputParameters: - type: object mapping: $. - name: google-cloud-dataproc-cancel-job description: Google Cloud Dataproc Cancel a job hints: readOnly: false destructive: false idempotent: false call: cloud-dataproc-jobs.canceljob with: project: tools.project region: tools.region jobId: tools.jobId outputParameters: - type: object mapping: $. - name: google-cloud-dataproc-submit-job description: Google Cloud Dataproc Submit a job hints: readOnly: false destructive: false idempotent: false call: cloud-dataproc-jobs.submitjob with: project: tools.project region: tools.region body: tools.body outputParameters: - type: object mapping: $.