naftiko: 1.0.0-alpha2 info: label: Google Cloud Batch API — Tasks description: 'Google Cloud Batch API — Tasks. 2 operations. Lead operation: Google Cloud Batch List Tasks. Self-contained Naftiko capability covering one Google Cloud Batch business surface.' tags: - Google Cloud Batch - Tasks created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GOOGLE_CLOUD_BATCH_API_KEY: GOOGLE_CLOUD_BATCH_API_KEY capability: consumes: - type: http namespace: batch-tasks baseUri: https://batch.googleapis.com/v1 description: Google Cloud Batch API — Tasks business capability. Self-contained, no shared references. resources: - name: projects-project-locations-location-jobs-jobId-taskGroups-taskGroupId-tasks path: /projects/{project}/locations/{location}/jobs/{jobId}/taskGroups/{taskGroupId}/tasks operations: - name: listtasks method: GET description: Google Cloud Batch List Tasks outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: project in: path type: string required: true - name: location in: path type: string required: true - name: jobId in: path type: string required: true - name: taskGroupId in: path type: string required: true - name: projects-project-locations-location-jobs-jobId-taskGroups-taskGroupId-tasks-task path: /projects/{project}/locations/{location}/jobs/{jobId}/taskGroups/{taskGroupId}/tasks/{taskId} operations: - name: gettask method: GET description: Google Cloud Batch Get Task outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: project in: path type: string required: true - name: location in: path type: string required: true - name: jobId in: path type: string required: true - name: taskGroupId in: path type: string required: true - name: taskId in: path type: string required: true authentication: type: bearer token: '{{env.GOOGLE_CLOUD_BATCH_API_KEY}}' exposes: - type: rest namespace: batch-tasks-rest port: 8080 description: REST adapter for Google Cloud Batch API — Tasks. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/projects/{project}/locations/{location}/jobs/{jobid}/taskgroups/{taskgroupid}/tasks name: projects-project-locations-location-jobs-jobid-taskgroups-taskgroupid-tasks description: REST surface for projects-project-locations-location-jobs-jobId-taskGroups-taskGroupId-tasks. operations: - method: GET name: listtasks description: Google Cloud Batch List Tasks call: batch-tasks.listtasks with: project: rest.project location: rest.location jobId: rest.jobId taskGroupId: rest.taskGroupId outputParameters: - type: object mapping: $. - path: /v1/projects/{project}/locations/{location}/jobs/{jobid}/taskgroups/{taskgroupid}/tasks/{taskid} name: projects-project-locations-location-jobs-jobid-taskgroups-taskgroupid-tasks-task description: REST surface for projects-project-locations-location-jobs-jobId-taskGroups-taskGroupId-tasks-task. operations: - method: GET name: gettask description: Google Cloud Batch Get Task call: batch-tasks.gettask with: project: rest.project location: rest.location jobId: rest.jobId taskGroupId: rest.taskGroupId taskId: rest.taskId outputParameters: - type: object mapping: $. - type: mcp namespace: batch-tasks-mcp port: 9090 transport: http description: MCP adapter for Google Cloud Batch API — Tasks. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: google-cloud-batch-list-tasks description: Google Cloud Batch List Tasks hints: readOnly: true destructive: false idempotent: true call: batch-tasks.listtasks with: project: tools.project location: tools.location jobId: tools.jobId taskGroupId: tools.taskGroupId outputParameters: - type: object mapping: $. - name: google-cloud-batch-get-task description: Google Cloud Batch Get Task hints: readOnly: true destructive: false idempotent: true call: batch-tasks.gettask with: project: tools.project location: tools.location jobId: tools.jobId taskGroupId: tools.taskGroupId taskId: tools.taskId outputParameters: - type: object mapping: $.