naftiko: 1.0.0-alpha2 info: label: Google Cloud Translation API — Detections description: 'Google Cloud Translation API — Detections. 1 operations. Lead operation: Google Cloud Translation API Detect Language. Self-contained Naftiko capability covering one Google Translate business surface.' tags: - Google Translate - Detections 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-detections baseUri: https://translation.googleapis.com description: Google Cloud Translation API — Detections business capability. Self-contained, no shared references. resources: - name: language-translate-v2-detect path: /language/translate/v2/detect operations: - name: detectlanguage method: POST description: Google Cloud Translation API Detect Language 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-detections-rest port: 8080 description: REST adapter for Google Cloud Translation API — Detections. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/language/translate/v2/detect name: language-translate-v2-detect description: REST surface for language-translate-v2-detect. operations: - method: POST name: detectlanguage description: Google Cloud Translation API Detect Language call: openapi-detections.detectlanguage with: key: rest.key body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: openapi-detections-mcp port: 9090 transport: http description: MCP adapter for Google Cloud Translation API — Detections. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: google-cloud-translation-api-detect description: Google Cloud Translation API Detect Language hints: readOnly: false destructive: false idempotent: false call: openapi-detections.detectlanguage with: key: tools.key body: tools.body outputParameters: - type: object mapping: $.