naftiko: 1.0.0-alpha2 info: label: Google Gmail API — Info description: 'Google Gmail API — Info. 4 operations. Lead operation: Google List SMIME Info. Self-contained Naftiko capability covering one Google business surface.' tags: - Google - Info created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GOOGLE_API_KEY: GOOGLE_API_KEY capability: consumes: - type: http namespace: gmail-info baseUri: https://gmail.googleapis.com description: Google Gmail API — Info business capability. Self-contained, no shared references. resources: - name: gmail-v1-users-userId-settings-sendAs-sendAsEmail-smimeInfo path: /gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo operations: - name: get method: GET description: Google List SMIME Info 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: sendAsEmail in: path type: string description: (Required) required: true - name: post method: POST description: Google Insert SMIME Info 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 - name: gmail-v1-users-userId-settings-sendAs-sendAsEmail-smimeInfo-id path: /gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id} operations: - name: get method: GET description: Google Get Send As SMIME Info 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: sendAsEmail in: path type: string description: (Required) required: true - name: id in: path type: string description: (Required) required: true - name: delete method: DELETE description: Google Delete Send As SMIME INfo outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: userId in: path type: string description: (Required) required: true - name: sendAsEmail in: path type: string description: (Required) required: true - name: id in: path type: string description: (Required) required: true exposes: - type: rest namespace: gmail-info-rest port: 8080 description: REST adapter for Google Gmail API — Info. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/gmail/v1/users/{userid}/settings/sendas/{sendasemail}/smimeinfo name: gmail-v1-users-userid-settings-sendas-sendasemail-smimeinfo description: REST surface for gmail-v1-users-userId-settings-sendAs-sendAsEmail-smimeInfo. operations: - method: GET name: get description: Google List SMIME Info call: gmail-info.get with: Accept: rest.Accept userId: rest.userId sendAsEmail: rest.sendAsEmail outputParameters: - type: object mapping: $. - method: POST name: post description: Google Insert SMIME Info call: gmail-info.post with: Content-Type: rest.Content-Type Accept: rest.Accept userId: rest.userId sendAsEmail: rest.sendAsEmail body: rest.body outputParameters: - type: object mapping: $. - path: /v1/gmail/v1/users/{userid}/settings/sendas/{sendasemail}/smimeinfo/{id} name: gmail-v1-users-userid-settings-sendas-sendasemail-smimeinfo-id description: REST surface for gmail-v1-users-userId-settings-sendAs-sendAsEmail-smimeInfo-id. operations: - method: GET name: get description: Google Get Send As SMIME Info call: gmail-info.get with: Accept: rest.Accept userId: rest.userId sendAsEmail: rest.sendAsEmail id: rest.id outputParameters: - type: object mapping: $. - method: DELETE name: delete description: Google Delete Send As SMIME INfo call: gmail-info.delete with: userId: rest.userId sendAsEmail: rest.sendAsEmail id: rest.id outputParameters: - type: object mapping: $. - type: mcp namespace: gmail-info-mcp port: 9090 transport: http description: MCP adapter for Google Gmail API — Info. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: google-list-smime-info description: Google List SMIME Info hints: readOnly: true destructive: false idempotent: true call: gmail-info.get with: Accept: tools.Accept userId: tools.userId sendAsEmail: tools.sendAsEmail outputParameters: - type: object mapping: $. - name: google-insert-smime-info description: Google Insert SMIME Info hints: readOnly: false destructive: false idempotent: false call: gmail-info.post with: Content-Type: tools.Content-Type Accept: tools.Accept userId: tools.userId sendAsEmail: tools.sendAsEmail body: tools.body outputParameters: - type: object mapping: $. - name: google-get-send-smime-info description: Google Get Send As SMIME Info hints: readOnly: true destructive: false idempotent: true call: gmail-info.get with: Accept: tools.Accept userId: tools.userId sendAsEmail: tools.sendAsEmail id: tools.id outputParameters: - type: object mapping: $. - name: google-delete-send-smime-info description: Google Delete Send As SMIME INfo hints: readOnly: false destructive: true idempotent: true call: gmail-info.delete with: userId: tools.userId sendAsEmail: tools.sendAsEmail id: tools.id outputParameters: - type: object mapping: $.