naftiko: 1.0.0-alpha2 info: label: Microsoft Azure Cognitive Services API — Computer Vision description: 'Microsoft Azure Cognitive Services API — Computer Vision. 2 operations. Lead operation: Microsoft Analyze image. Self-contained Naftiko capability covering one Microsoft business surface.' tags: - Microsoft - Computer Vision created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MICROSOFT_API_KEY: MICROSOFT_API_KEY capability: consumes: - type: http namespace: azure-cognitive-services-computer-vision baseUri: https://{region}.api.cognitive.microsoft.com description: Microsoft Azure Cognitive Services API — Computer Vision business capability. Self-contained, no shared references. resources: - name: vision-v3.2-analyze path: /vision/v3.2/analyze operations: - name: analyzeimage method: POST description: Microsoft Analyze image outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: visualFeatures in: query type: string description: Visual features to analyze - name: language in: query type: string description: Language for response - name: body in: body type: object description: Request body (JSON). required: true - name: vision-v3.2-ocr path: /vision/v3.2/ocr operations: - name: recognizetext method: POST description: Microsoft Optical character recognition outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: language in: query type: string description: BCP-47 language code of the text to detect - name: detectOrientation in: query type: boolean description: Whether to detect text orientation - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: Ocp-Apim-Subscription-Key value: '{{env.MICROSOFT_API_KEY}}' placement: header exposes: - type: rest namespace: azure-cognitive-services-computer-vision-rest port: 8080 description: REST adapter for Microsoft Azure Cognitive Services API — Computer Vision. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/vision/v3-2/analyze name: vision-v3-2-analyze description: REST surface for vision-v3.2-analyze. operations: - method: POST name: analyzeimage description: Microsoft Analyze image call: azure-cognitive-services-computer-vision.analyzeimage with: visualFeatures: rest.visualFeatures language: rest.language body: rest.body outputParameters: - type: object mapping: $. - path: /v1/vision/v3-2/ocr name: vision-v3-2-ocr description: REST surface for vision-v3.2-ocr. operations: - method: POST name: recognizetext description: Microsoft Optical character recognition call: azure-cognitive-services-computer-vision.recognizetext with: language: rest.language detectOrientation: rest.detectOrientation body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: azure-cognitive-services-computer-vision-mcp port: 9090 transport: http description: MCP adapter for Microsoft Azure Cognitive Services API — Computer Vision. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-analyze-image description: Microsoft Analyze image hints: readOnly: false destructive: false idempotent: false call: azure-cognitive-services-computer-vision.analyzeimage with: visualFeatures: tools.visualFeatures language: tools.language body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-optical-character-recognition description: Microsoft Optical character recognition hints: readOnly: false destructive: false idempotent: false call: azure-cognitive-services-computer-vision.recognizetext with: language: tools.language detectOrientation: tools.detectOrientation body: tools.body outputParameters: - type: object mapping: $.