naftiko: 1.0.0-alpha2 info: label: Google Cloud Translation API — Translations description: 'Google Cloud Translation API — Translations. 1 operations. Lead operation: Google Cloud Translation API Translate Text. Self-contained Naftiko capability covering one Google Translate business surface.' tags: - Google Translate - Translations created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GOOGLE_TRANSLATE_API_KEY: GOOGLE_TRANSLATE_API_KEY capability: consumes: - type: http namespace: openapi-translations baseUri: https://translation.googleapis.com description: Google Cloud Translation API — Translations business capability. Self-contained, no shared references. resources: - name: language-translate-v2 path: /language/translate/v2 operations: - name: translatetext method: POST description: Google Cloud Translation API Translate Text outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: key in: query type: string description: API key for authentication required: true - name: body in: body type: object description: Request body (JSON). required: true exposes: - type: rest namespace: openapi-translations-rest port: 8080 description: REST adapter for Google Cloud Translation API — Translations. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/language/translate/v2 name: language-translate-v2 description: REST surface for language-translate-v2. operations: - method: POST name: translatetext description: Google Cloud Translation API Translate Text call: openapi-translations.translatetext with: key: rest.key body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: openapi-translations-mcp port: 9090 transport: http description: MCP adapter for Google Cloud Translation API — Translations. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: google-cloud-translation-api-translate description: Google Cloud Translation API Translate Text hints: readOnly: false destructive: false idempotent: false call: openapi-translations.translatetext with: key: tools.key body: tools.body outputParameters: - type: object mapping: $.