naftiko: 1.0.0-alpha2 info: label: Google Gmail API — Settings description: 'Google Gmail API — Settings. 7 operations. Lead operation: Google Get Auto Forwarding Settings. Self-contained Naftiko capability covering one Google business surface.' tags: - Google - Settings created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GOOGLE_API_KEY: GOOGLE_API_KEY capability: consumes: - type: http namespace: gmail-settings baseUri: https://gmail.googleapis.com description: Google Gmail API — Settings business capability. Self-contained, no shared references. resources: - name: gmail-v1-users-userId-settings-autoForwarding path: /gmail/v1/users/{userId}/settings/autoForwarding operations: - name: get method: GET description: Google Get Auto Forwarding Settings outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Accept in: header type: string - name: userId in: path type: string description: (Required) required: true - name: gmail-v1-users-userId-settings-language path: /gmail/v1/users/{userId}/settings/language operations: - name: get method: GET description: Google Get Language Settings outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Accept in: header type: string - name: userId in: path type: string description: (Required) required: true - name: put method: PUT description: Google Update Language Settings 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 - name: gmail-v1-users-userId-settings-pop path: /gmail/v1/users/{userId}/settings/pop operations: - name: get method: GET description: Google Get POP Settings outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Accept in: header type: string - name: userId in: path type: string description: (Required) required: true - name: put method: PUT description: Google Update POP Settings 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 - name: gmail-v1-users-userId-settings-vacation path: /gmail/v1/users/{userId}/settings/vacation operations: - name: get method: GET description: Google Get Vacation Settings outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Accept in: header type: string - name: userId in: path type: string description: (Required) required: true - name: put method: PUT description: Google Update Vacation Settings 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-settings-rest port: 8080 description: REST adapter for Google Gmail API — Settings. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/gmail/v1/users/{userid}/settings/autoforwarding name: gmail-v1-users-userid-settings-autoforwarding description: REST surface for gmail-v1-users-userId-settings-autoForwarding. operations: - method: GET name: get description: Google Get Auto Forwarding Settings call: gmail-settings.get with: Accept: rest.Accept userId: rest.userId outputParameters: - type: object mapping: $. - path: /v1/gmail/v1/users/{userid}/settings/language name: gmail-v1-users-userid-settings-language description: REST surface for gmail-v1-users-userId-settings-language. operations: - method: GET name: get description: Google Get Language Settings call: gmail-settings.get with: Accept: rest.Accept userId: rest.userId outputParameters: - type: object mapping: $. - method: PUT name: put description: Google Update Language Settings call: gmail-settings.put with: Content-Type: rest.Content-Type Accept: rest.Accept userId: rest.userId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/gmail/v1/users/{userid}/settings/pop name: gmail-v1-users-userid-settings-pop description: REST surface for gmail-v1-users-userId-settings-pop. operations: - method: GET name: get description: Google Get POP Settings call: gmail-settings.get with: Accept: rest.Accept userId: rest.userId outputParameters: - type: object mapping: $. - method: PUT name: put description: Google Update POP Settings call: gmail-settings.put with: Content-Type: rest.Content-Type Accept: rest.Accept userId: rest.userId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/gmail/v1/users/{userid}/settings/vacation name: gmail-v1-users-userid-settings-vacation description: REST surface for gmail-v1-users-userId-settings-vacation. operations: - method: GET name: get description: Google Get Vacation Settings call: gmail-settings.get with: Accept: rest.Accept userId: rest.userId outputParameters: - type: object mapping: $. - method: PUT name: put description: Google Update Vacation Settings call: gmail-settings.put with: Content-Type: rest.Content-Type Accept: rest.Accept userId: rest.userId body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: gmail-settings-mcp port: 9090 transport: http description: MCP adapter for Google Gmail API — Settings. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: google-get-auto-forwarding-settings description: Google Get Auto Forwarding Settings hints: readOnly: true destructive: false idempotent: true call: gmail-settings.get with: Accept: tools.Accept userId: tools.userId outputParameters: - type: object mapping: $. - name: google-get-language-settings description: Google Get Language Settings hints: readOnly: true destructive: false idempotent: true call: gmail-settings.get with: Accept: tools.Accept userId: tools.userId outputParameters: - type: object mapping: $. - name: google-update-language-settings description: Google Update Language Settings hints: readOnly: false destructive: false idempotent: true call: gmail-settings.put with: Content-Type: tools.Content-Type Accept: tools.Accept userId: tools.userId body: tools.body outputParameters: - type: object mapping: $. - name: google-get-pop-settings description: Google Get POP Settings hints: readOnly: true destructive: false idempotent: true call: gmail-settings.get with: Accept: tools.Accept userId: tools.userId outputParameters: - type: object mapping: $. - name: google-update-pop-settings description: Google Update POP Settings hints: readOnly: false destructive: false idempotent: true call: gmail-settings.put with: Content-Type: tools.Content-Type Accept: tools.Accept userId: tools.userId body: tools.body outputParameters: - type: object mapping: $. - name: google-get-vacation-settings description: Google Get Vacation Settings hints: readOnly: true destructive: false idempotent: true call: gmail-settings.get with: Accept: tools.Accept userId: tools.userId outputParameters: - type: object mapping: $. - name: google-update-vacation-settings description: Google Update Vacation Settings hints: readOnly: false destructive: false idempotent: true call: gmail-settings.put with: Content-Type: tools.Content-Type Accept: tools.Accept userId: tools.userId body: tools.body outputParameters: - type: object mapping: $.