naftiko: 1.0.0-alpha2 info: label: Google Gmail API — Batch description: 'Google Gmail API — Batch. 2 operations. Lead operation: Google Batch Delete. Self-contained Naftiko capability covering one Google business surface.' tags: - Google - Batch created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GOOGLE_API_KEY: GOOGLE_API_KEY capability: consumes: - type: http namespace: gmail-batch baseUri: https://gmail.googleapis.com description: Google Gmail API — Batch business capability. Self-contained, no shared references. resources: - name: gmail-v1-users-userId-messages-batchDelete path: /gmail/v1/users/{userId}/messages/batchDelete operations: - name: post method: POST description: Google Batch Delete outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Content-Type in: header type: string - name: userId in: path type: string description: (Required) required: true - name: body in: body type: object description: Request body (JSON). required: false - name: gmail-v1-users-userId-messages-batchModify path: /gmail/v1/users/{userId}/messages/batchModify operations: - name: post method: POST description: Google Batch Modify outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Content-Type in: header type: string - name: userId in: path type: string description: (Required) required: true - name: body in: body type: object description: Request body (JSON). required: false exposes: - type: rest namespace: gmail-batch-rest port: 8080 description: REST adapter for Google Gmail API — Batch. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/gmail/v1/users/{userid}/messages/batchdelete name: gmail-v1-users-userid-messages-batchdelete description: REST surface for gmail-v1-users-userId-messages-batchDelete. operations: - method: POST name: post description: Google Batch Delete call: gmail-batch.post with: Content-Type: rest.Content-Type userId: rest.userId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/gmail/v1/users/{userid}/messages/batchmodify name: gmail-v1-users-userid-messages-batchmodify description: REST surface for gmail-v1-users-userId-messages-batchModify. operations: - method: POST name: post description: Google Batch Modify call: gmail-batch.post with: Content-Type: rest.Content-Type userId: rest.userId body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: gmail-batch-mcp port: 9090 transport: http description: MCP adapter for Google Gmail API — Batch. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: google-batch-delete description: Google Batch Delete hints: readOnly: false destructive: false idempotent: false call: gmail-batch.post with: Content-Type: tools.Content-Type userId: tools.userId body: tools.body outputParameters: - type: object mapping: $. - name: google-batch-modify description: Google Batch Modify hints: readOnly: false destructive: false idempotent: false call: gmail-batch.post with: Content-Type: tools.Content-Type userId: tools.userId body: tools.body outputParameters: - type: object mapping: $.