naftiko: 1.0.0-alpha2 info: label: Microsoft Azure Custom Vision Prediction Client — ImagePredictionApi description: 'Microsoft Azure Custom Vision Prediction Client — ImagePredictionApi. 8 operations. Lead operation: Microsoft Azure Classify An Image And Saves The Result. Self-contained Naftiko capability covering one Microsoft Azure business surface.' tags: - Microsoft Azure - ImagePredictionApi created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MICROSOFT_AZURE_API_KEY: MICROSOFT_AZURE_API_KEY capability: consumes: - type: http namespace: custom-vision-prediction-client-imagepredictionapi baseUri: https://southcentralus.api.cognitive.microsoft.com/customvision/v3.0/prediction description: Microsoft Azure Custom Vision Prediction Client — ImagePredictionApi business capability. Self-contained, no shared references. resources: - name: projectId-classify-iterations-publishedName-image path: /{projectId}/classify/iterations/{publishedName}/image operations: - name: microsoftazureclassifyimage method: POST description: Microsoft Azure Classify An Image And Saves The Result outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectId in: path type: string description: The project id. required: true - name: publishedName in: path type: string description: Specifies the name of the model to evaluate against. required: true - name: application in: query type: string description: Optional. Specifies the name of application using the endpoint. - name: imageData in: formData type: file description: Binary image data. Supported formats are JPEG, GIF, PNG, and BMP. Supports images up to 4MB. required: true - name: projectId-classify-iterations-publishedName-image-nostore path: /{projectId}/classify/iterations/{publishedName}/image/nostore operations: - name: microsoftazureclassifyimagewithnostore method: POST description: Microsoft Azure Classify An Image Without Saving The Result outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectId in: path type: string description: The project id. required: true - name: publishedName in: path type: string description: Specifies the name of the model to evaluate against. required: true - name: application in: query type: string description: Optional. Specifies the name of application using the endpoint. - name: imageData in: formData type: file description: Binary image data. Supported formats are JPEG, GIF, PNG, and BMP. Supports images up to 0MB. required: true - name: projectId-classify-iterations-publishedName-url path: /{projectId}/classify/iterations/{publishedName}/url operations: - name: microsoftazureclassifyimageurl method: POST description: Microsoft Azure Classify An Image Url And Saves The Result outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectId in: path type: string description: The project id. required: true - name: publishedName in: path type: string description: Specifies the name of the model to evaluate against. required: true - name: imageUrl in: body type: string description: An ImageUrl that contains the url of the image to be evaluated. required: true - name: application in: query type: string description: Optional. Specifies the name of application using the endpoint. - name: projectId-classify-iterations-publishedName-url-nostore path: /{projectId}/classify/iterations/{publishedName}/url/nostore operations: - name: microsoftazureclassifyimageurlwithnostore method: POST description: Microsoft Azure Classify An Image Url Without Saving The Result outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectId in: path type: string description: The project id. required: true - name: publishedName in: path type: string description: Specifies the name of the model to evaluate against. required: true - name: imageUrl in: body type: string description: An {Iris.Web.Api.Models.ImageUrl} that contains the url of the image to be evaluated. required: true - name: application in: query type: string description: Optional. Specifies the name of application using the endpoint. - name: projectId-detect-iterations-publishedName-image path: /{projectId}/detect/iterations/{publishedName}/image operations: - name: microsoftazuredetectimage method: POST description: Microsoft Azure Detect Objects In An Image And Saves The Result outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectId in: path type: string description: The project id. required: true - name: publishedName in: path type: string description: Specifies the name of the model to evaluate against. required: true - name: application in: query type: string description: Optional. Specifies the name of application using the endpoint. - name: imageData in: formData type: file description: Binary image data. Supported formats are JPEG, GIF, PNG, and BMP. Supports images up to 4MB. required: true - name: projectId-detect-iterations-publishedName-image-nostore path: /{projectId}/detect/iterations/{publishedName}/image/nostore operations: - name: microsoftazuredetectimagewithnostore method: POST description: Microsoft Azure Detect Objects In An Image Without Saving The Result outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectId in: path type: string description: The project id. required: true - name: publishedName in: path type: string description: Specifies the name of the model to evaluate against. required: true - name: application in: query type: string description: Optional. Specifies the name of application using the endpoint. - name: imageData in: formData type: file description: Binary image data. Supported formats are JPEG, GIF, PNG, and BMP. Supports images up to 0MB. required: true - name: projectId-detect-iterations-publishedName-url path: /{projectId}/detect/iterations/{publishedName}/url operations: - name: microsoftazuredetectimageurl method: POST description: Microsoft Azure Detect Objects In An Image Url And Saves The Result outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectId in: path type: string description: The project id. required: true - name: publishedName in: path type: string description: Specifies the name of the model to evaluate against. required: true - name: imageUrl in: body type: string description: An ImageUrl that contains the url of the image to be evaluated. required: true - name: application in: query type: string description: Optional. Specifies the name of application using the endpoint. - name: projectId-detect-iterations-publishedName-url-nostore path: /{projectId}/detect/iterations/{publishedName}/url/nostore operations: - name: microsoftazuredetectimageurlwithnostore method: POST description: Microsoft Azure Detect Objects In An Image Url Without Saving The Result outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectId in: path type: string description: The project id. required: true - name: publishedName in: path type: string description: Specifies the name of the model to evaluate against. required: true - name: imageUrl in: body type: string description: An {Iris.Web.Api.Models.ImageUrl} that contains the url of the image to be evaluated. required: true - name: application in: query type: string description: Optional. Specifies the name of application using the endpoint. exposes: - type: rest namespace: custom-vision-prediction-client-imagepredictionapi-rest port: 8080 description: REST adapter for Microsoft Azure Custom Vision Prediction Client — ImagePredictionApi. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/{projectid}/classify/iterations/{publishedname}/image name: projectid-classify-iterations-publishedname-image description: REST surface for projectId-classify-iterations-publishedName-image. operations: - method: POST name: microsoftazureclassifyimage description: Microsoft Azure Classify An Image And Saves The Result call: custom-vision-prediction-client-imagepredictionapi.microsoftazureclassifyimage with: projectId: rest.projectId publishedName: rest.publishedName application: rest.application imageData: rest.imageData outputParameters: - type: object mapping: $. - path: /v1/{projectid}/classify/iterations/{publishedname}/image/nostore name: projectid-classify-iterations-publishedname-image-nostore description: REST surface for projectId-classify-iterations-publishedName-image-nostore. operations: - method: POST name: microsoftazureclassifyimagewithnostore description: Microsoft Azure Classify An Image Without Saving The Result call: custom-vision-prediction-client-imagepredictionapi.microsoftazureclassifyimagewithnostore with: projectId: rest.projectId publishedName: rest.publishedName application: rest.application imageData: rest.imageData outputParameters: - type: object mapping: $. - path: /v1/{projectid}/classify/iterations/{publishedname}/url name: projectid-classify-iterations-publishedname-url description: REST surface for projectId-classify-iterations-publishedName-url. operations: - method: POST name: microsoftazureclassifyimageurl description: Microsoft Azure Classify An Image Url And Saves The Result call: custom-vision-prediction-client-imagepredictionapi.microsoftazureclassifyimageurl with: projectId: rest.projectId publishedName: rest.publishedName imageUrl: rest.imageUrl application: rest.application outputParameters: - type: object mapping: $. - path: /v1/{projectid}/classify/iterations/{publishedname}/url/nostore name: projectid-classify-iterations-publishedname-url-nostore description: REST surface for projectId-classify-iterations-publishedName-url-nostore. operations: - method: POST name: microsoftazureclassifyimageurlwithnostore description: Microsoft Azure Classify An Image Url Without Saving The Result call: custom-vision-prediction-client-imagepredictionapi.microsoftazureclassifyimageurlwithnostore with: projectId: rest.projectId publishedName: rest.publishedName imageUrl: rest.imageUrl application: rest.application outputParameters: - type: object mapping: $. - path: /v1/{projectid}/detect/iterations/{publishedname}/image name: projectid-detect-iterations-publishedname-image description: REST surface for projectId-detect-iterations-publishedName-image. operations: - method: POST name: microsoftazuredetectimage description: Microsoft Azure Detect Objects In An Image And Saves The Result call: custom-vision-prediction-client-imagepredictionapi.microsoftazuredetectimage with: projectId: rest.projectId publishedName: rest.publishedName application: rest.application imageData: rest.imageData outputParameters: - type: object mapping: $. - path: /v1/{projectid}/detect/iterations/{publishedname}/image/nostore name: projectid-detect-iterations-publishedname-image-nostore description: REST surface for projectId-detect-iterations-publishedName-image-nostore. operations: - method: POST name: microsoftazuredetectimagewithnostore description: Microsoft Azure Detect Objects In An Image Without Saving The Result call: custom-vision-prediction-client-imagepredictionapi.microsoftazuredetectimagewithnostore with: projectId: rest.projectId publishedName: rest.publishedName application: rest.application imageData: rest.imageData outputParameters: - type: object mapping: $. - path: /v1/{projectid}/detect/iterations/{publishedname}/url name: projectid-detect-iterations-publishedname-url description: REST surface for projectId-detect-iterations-publishedName-url. operations: - method: POST name: microsoftazuredetectimageurl description: Microsoft Azure Detect Objects In An Image Url And Saves The Result call: custom-vision-prediction-client-imagepredictionapi.microsoftazuredetectimageurl with: projectId: rest.projectId publishedName: rest.publishedName imageUrl: rest.imageUrl application: rest.application outputParameters: - type: object mapping: $. - path: /v1/{projectid}/detect/iterations/{publishedname}/url/nostore name: projectid-detect-iterations-publishedname-url-nostore description: REST surface for projectId-detect-iterations-publishedName-url-nostore. operations: - method: POST name: microsoftazuredetectimageurlwithnostore description: Microsoft Azure Detect Objects In An Image Url Without Saving The Result call: custom-vision-prediction-client-imagepredictionapi.microsoftazuredetectimageurlwithnostore with: projectId: rest.projectId publishedName: rest.publishedName imageUrl: rest.imageUrl application: rest.application outputParameters: - type: object mapping: $. - type: mcp namespace: custom-vision-prediction-client-imagepredictionapi-mcp port: 9090 transport: http description: MCP adapter for Microsoft Azure Custom Vision Prediction Client — ImagePredictionApi. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-azure-classify-image-and description: Microsoft Azure Classify An Image And Saves The Result hints: readOnly: false destructive: false idempotent: false call: custom-vision-prediction-client-imagepredictionapi.microsoftazureclassifyimage with: projectId: tools.projectId publishedName: tools.publishedName application: tools.application imageData: tools.imageData outputParameters: - type: object mapping: $. - name: microsoft-azure-classify-image-without description: Microsoft Azure Classify An Image Without Saving The Result hints: readOnly: false destructive: false idempotent: false call: custom-vision-prediction-client-imagepredictionapi.microsoftazureclassifyimagewithnostore with: projectId: tools.projectId publishedName: tools.publishedName application: tools.application imageData: tools.imageData outputParameters: - type: object mapping: $. - name: microsoft-azure-classify-image-url description: Microsoft Azure Classify An Image Url And Saves The Result hints: readOnly: false destructive: false idempotent: false call: custom-vision-prediction-client-imagepredictionapi.microsoftazureclassifyimageurl with: projectId: tools.projectId publishedName: tools.publishedName imageUrl: tools.imageUrl application: tools.application outputParameters: - type: object mapping: $. - name: microsoft-azure-classify-image-url-2 description: Microsoft Azure Classify An Image Url Without Saving The Result hints: readOnly: false destructive: false idempotent: false call: custom-vision-prediction-client-imagepredictionapi.microsoftazureclassifyimageurlwithnostore with: projectId: tools.projectId publishedName: tools.publishedName imageUrl: tools.imageUrl application: tools.application outputParameters: - type: object mapping: $. - name: microsoft-azure-detect-objects-image description: Microsoft Azure Detect Objects In An Image And Saves The Result hints: readOnly: false destructive: false idempotent: false call: custom-vision-prediction-client-imagepredictionapi.microsoftazuredetectimage with: projectId: tools.projectId publishedName: tools.publishedName application: tools.application imageData: tools.imageData outputParameters: - type: object mapping: $. - name: microsoft-azure-detect-objects-image-2 description: Microsoft Azure Detect Objects In An Image Without Saving The Result hints: readOnly: false destructive: false idempotent: false call: custom-vision-prediction-client-imagepredictionapi.microsoftazuredetectimagewithnostore with: projectId: tools.projectId publishedName: tools.publishedName application: tools.application imageData: tools.imageData outputParameters: - type: object mapping: $. - name: microsoft-azure-detect-objects-image-3 description: Microsoft Azure Detect Objects In An Image Url And Saves The Result hints: readOnly: false destructive: false idempotent: false call: custom-vision-prediction-client-imagepredictionapi.microsoftazuredetectimageurl with: projectId: tools.projectId publishedName: tools.publishedName imageUrl: tools.imageUrl application: tools.application outputParameters: - type: object mapping: $. - name: microsoft-azure-detect-objects-image-4 description: Microsoft Azure Detect Objects In An Image Url Without Saving The Result hints: readOnly: false destructive: false idempotent: false call: custom-vision-prediction-client-imagepredictionapi.microsoftazuredetectimageurlwithnostore with: projectId: tools.projectId publishedName: tools.publishedName imageUrl: tools.imageUrl application: tools.application outputParameters: - type: object mapping: $.