naftiko: 1.0.0-alpha2 info: label: Google Gmail API — Watch description: 'Google Gmail API — Watch. 1 operations. Lead operation: Google Watch Users. Self-contained Naftiko capability covering one Google business surface.' tags: - Google - Watch created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GOOGLE_API_KEY: GOOGLE_API_KEY capability: consumes: - type: http namespace: gmail-watch baseUri: https://gmail.googleapis.com description: Google Gmail API — Watch business capability. Self-contained, no shared references. resources: - name: gmail-v1-users-userId-watch path: /gmail/v1/users/{userId}/watch operations: - name: post method: POST description: Google Watch Users outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Content-Type in: header type: string - name: Accept 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-watch-rest port: 8080 description: REST adapter for Google Gmail API — Watch. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/gmail/v1/users/{userid}/watch name: gmail-v1-users-userid-watch description: REST surface for gmail-v1-users-userId-watch. operations: - method: POST name: post description: Google Watch Users call: gmail-watch.post with: Content-Type: rest.Content-Type Accept: rest.Accept userId: rest.userId body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: gmail-watch-mcp port: 9090 transport: http description: MCP adapter for Google Gmail API — Watch. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: google-watch-users description: Google Watch Users hints: readOnly: false destructive: false idempotent: false call: gmail-watch.post with: Content-Type: tools.Content-Type Accept: tools.Accept userId: tools.userId body: tools.body outputParameters: - type: object mapping: $.