naftiko: 1.0.0-alpha2 info: label: Google Cloud Translation API — Projects description: 'Google Cloud Translation API — Projects. 5 operations. Lead operation: Google Cloud Translation List glossaries. Self-contained Naftiko capability covering one Google Cloud Translation business surface.' tags: - Google Cloud Translation - Projects created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GOOGLE_CLOUD_TRANSLATION_API_KEY: GOOGLE_CLOUD_TRANSLATION_API_KEY capability: consumes: - type: http namespace: openapi-projects baseUri: https://translation.googleapis.com/v3 description: Google Cloud Translation API — Projects business capability. Self-contained, no shared references. resources: - name: projects-projectId-locations-location-glossaries path: /projects/{projectId}/locations/{location}/glossaries operations: - name: listglossaries method: GET description: Google Cloud Translation List glossaries outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectId in: path type: string required: true - name: location in: path type: string required: true - name: createglossary method: POST description: Google Cloud Translation Create a glossary outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectId in: path type: string required: true - name: location in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: projects-projectId-locations-location-supportedLanguages path: /projects/{projectId}/locations/{location}/supportedLanguages operations: - name: getsupportedlanguages method: GET description: Google Cloud Translation Get supported languages outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectId in: path type: string required: true - name: location in: path type: string required: true - name: displayLanguageCode in: query type: string - name: projects-projectId-locations-location}:detectLanguage path: /projects/{projectId}/locations/{location}:detectLanguage operations: - name: detectlanguage method: POST description: Google Cloud Translation Detect language outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectId in: path type: string required: true - name: location in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: projects-projectId-locations-location}:translateText path: /projects/{projectId}/locations/{location}:translateText operations: - name: translatetext method: POST description: Google Cloud Translation Translate text outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectId in: path type: string required: true - name: location in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true exposes: - type: rest namespace: openapi-projects-rest port: 8080 description: REST adapter for Google Cloud Translation API — Projects. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/projects/{projectid}/locations/{location}/glossaries name: projects-projectid-locations-location-glossaries description: REST surface for projects-projectId-locations-location-glossaries. operations: - method: GET name: listglossaries description: Google Cloud Translation List glossaries call: openapi-projects.listglossaries with: projectId: rest.projectId location: rest.location outputParameters: - type: object mapping: $. - method: POST name: createglossary description: Google Cloud Translation Create a glossary call: openapi-projects.createglossary with: projectId: rest.projectId location: rest.location body: rest.body outputParameters: - type: object mapping: $. - path: /v1/projects/{projectid}/locations/{location}/supportedlanguages name: projects-projectid-locations-location-supportedlanguages description: REST surface for projects-projectId-locations-location-supportedLanguages. operations: - method: GET name: getsupportedlanguages description: Google Cloud Translation Get supported languages call: openapi-projects.getsupportedlanguages with: projectId: rest.projectId location: rest.location displayLanguageCode: rest.displayLanguageCode outputParameters: - type: object mapping: $. - path: /v1/projects/{projectid}/locations/location-detectlanguage name: projects-projectid-locations-location-detectlanguage description: REST surface for projects-projectId-locations-location}:detectLanguage. operations: - method: POST name: detectlanguage description: Google Cloud Translation Detect language call: openapi-projects.detectlanguage with: projectId: rest.projectId location: rest.location body: rest.body outputParameters: - type: object mapping: $. - path: /v1/projects/{projectid}/locations/location-translatetext name: projects-projectid-locations-location-translatetext description: REST surface for projects-projectId-locations-location}:translateText. operations: - method: POST name: translatetext description: Google Cloud Translation Translate text call: openapi-projects.translatetext with: projectId: rest.projectId location: rest.location body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: openapi-projects-mcp port: 9090 transport: http description: MCP adapter for Google Cloud Translation API — Projects. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: google-cloud-translation-list-glossaries description: Google Cloud Translation List glossaries hints: readOnly: true destructive: false idempotent: true call: openapi-projects.listglossaries with: projectId: tools.projectId location: tools.location outputParameters: - type: object mapping: $. - name: google-cloud-translation-create-glossary description: Google Cloud Translation Create a glossary hints: readOnly: false destructive: false idempotent: false call: openapi-projects.createglossary with: projectId: tools.projectId location: tools.location body: tools.body outputParameters: - type: object mapping: $. - name: google-cloud-translation-get-supported description: Google Cloud Translation Get supported languages hints: readOnly: true destructive: false idempotent: true call: openapi-projects.getsupportedlanguages with: projectId: tools.projectId location: tools.location displayLanguageCode: tools.displayLanguageCode outputParameters: - type: object mapping: $. - name: google-cloud-translation-detect-language description: Google Cloud Translation Detect language hints: readOnly: false destructive: false idempotent: false call: openapi-projects.detectlanguage with: projectId: tools.projectId location: tools.location body: tools.body outputParameters: - type: object mapping: $. - name: google-cloud-translation-translate-text description: Google Cloud Translation Translate text hints: readOnly: false destructive: false idempotent: false call: openapi-projects.translatetext with: projectId: tools.projectId location: tools.location body: tools.body outputParameters: - type: object mapping: $.