naftiko: 1.0.0-alpha2 info: label: Google Gmail API — Setting description: 'Google Gmail API — Setting. 1 operations. Lead operation: Google Update Send As Setting. Self-contained Naftiko capability covering one Google business surface.' tags: - Google - Setting created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GOOGLE_API_KEY: GOOGLE_API_KEY capability: consumes: - type: http namespace: gmail-setting baseUri: https://gmail.googleapis.com description: Google Gmail API — Setting business capability. Self-contained, no shared references. resources: - name: gmail-v1-users-userId-settings-sendAs-sendAsEmail path: /gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail} operations: - name: put method: PUT description: Google Update Send As Setting 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: sendAsEmail 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-setting-rest port: 8080 description: REST adapter for Google Gmail API — Setting. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/gmail/v1/users/{userid}/settings/sendas/{sendasemail} name: gmail-v1-users-userid-settings-sendas-sendasemail description: REST surface for gmail-v1-users-userId-settings-sendAs-sendAsEmail. operations: - method: PUT name: put description: Google Update Send As Setting call: gmail-setting.put with: Content-Type: rest.Content-Type Accept: rest.Accept userId: rest.userId sendAsEmail: rest.sendAsEmail body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: gmail-setting-mcp port: 9090 transport: http description: MCP adapter for Google Gmail API — Setting. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: google-update-send-setting description: Google Update Send As Setting hints: readOnly: false destructive: false idempotent: true call: gmail-setting.put with: Content-Type: tools.Content-Type Accept: tools.Accept userId: tools.userId sendAsEmail: tools.sendAsEmail body: tools.body outputParameters: - type: object mapping: $.