naftiko: 1.0.0-alpha2 info: label: Microsoft Azure PredictionEndpoint — ImagePredictionApi description: 'Microsoft Azure PredictionEndpoint — ImagePredictionApi. 4 operations. Lead operation: Microsoft Azure Predict 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: predictionendpoint-imagepredictionapi baseUri: https://southcentralus.api.cognitive.microsoft.com/customvision/v1.1/Prediction description: Microsoft Azure PredictionEndpoint — ImagePredictionApi business capability. Self-contained, no shared references. resources: - name: projectId-image path: /{projectId}/image operations: - name: microsoftazurepredictimage method: POST description: Microsoft Azure Predict 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: iterationId in: query type: string description: "Optional. Specifies the id of a particular iteration to evaluate against.\r" - name: application in: query type: string description: Optional. Specifies the name of application using the endpoint - name: imageData in: formData type: file required: true - name: projectId-image-nostore path: /{projectId}/image/nostore operations: - name: microsoftazurepredictimagewithnostore method: POST description: Microsoft Azure Predict 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: iterationId in: query type: string description: "Optional. Specifies the id of a particular iteration to evaluate against.\r" - name: application in: query type: string description: Optional. Specifies the name of application using the endpoint - name: imageData in: formData type: file required: true - name: projectId-url path: /{projectId}/url operations: - name: microsoftazurepredictimageurl method: POST description: Microsoft Azure Predict 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: 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: iterationId in: query type: string description: "Optional. Specifies the id of a particular iteration to evaluate against.\r" - name: application in: query type: string description: Optional. Specifies the name of application using the endpoint - name: projectId-url-nostore path: /{projectId}/url/nostore operations: - name: microsoftazurepredictimageurlwithnostore method: POST description: Microsoft Azure Predict 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: 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: iterationId in: query type: string description: "Optional. Specifies the id of a particular iteration to evaluate against.\r" - name: application in: query type: string description: Optional. Specifies the name of application using the endpoint exposes: - type: rest namespace: predictionendpoint-imagepredictionapi-rest port: 8080 description: REST adapter for Microsoft Azure PredictionEndpoint — ImagePredictionApi. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/{projectid}/image name: projectid-image description: REST surface for projectId-image. operations: - method: POST name: microsoftazurepredictimage description: Microsoft Azure Predict An Image And Saves The Result call: predictionendpoint-imagepredictionapi.microsoftazurepredictimage with: projectId: rest.projectId iterationId: rest.iterationId application: rest.application imageData: rest.imageData outputParameters: - type: object mapping: $. - path: /v1/{projectid}/image/nostore name: projectid-image-nostore description: REST surface for projectId-image-nostore. operations: - method: POST name: microsoftazurepredictimagewithnostore description: Microsoft Azure Predict An Image Without Saving The Result call: predictionendpoint-imagepredictionapi.microsoftazurepredictimagewithnostore with: projectId: rest.projectId iterationId: rest.iterationId application: rest.application imageData: rest.imageData outputParameters: - type: object mapping: $. - path: /v1/{projectid}/url name: projectid-url description: REST surface for projectId-url. operations: - method: POST name: microsoftazurepredictimageurl description: Microsoft Azure Predict An Image Url And Saves The Result call: predictionendpoint-imagepredictionapi.microsoftazurepredictimageurl with: projectId: rest.projectId imageUrl: rest.imageUrl iterationId: rest.iterationId application: rest.application outputParameters: - type: object mapping: $. - path: /v1/{projectid}/url/nostore name: projectid-url-nostore description: REST surface for projectId-url-nostore. operations: - method: POST name: microsoftazurepredictimageurlwithnostore description: Microsoft Azure Predict An Image Url Without Saving The Result call: predictionendpoint-imagepredictionapi.microsoftazurepredictimageurlwithnostore with: projectId: rest.projectId imageUrl: rest.imageUrl iterationId: rest.iterationId application: rest.application outputParameters: - type: object mapping: $. - type: mcp namespace: predictionendpoint-imagepredictionapi-mcp port: 9090 transport: http description: MCP adapter for Microsoft Azure PredictionEndpoint — ImagePredictionApi. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-azure-predict-image-and description: Microsoft Azure Predict An Image And Saves The Result hints: readOnly: false destructive: false idempotent: false call: predictionendpoint-imagepredictionapi.microsoftazurepredictimage with: projectId: tools.projectId iterationId: tools.iterationId application: tools.application imageData: tools.imageData outputParameters: - type: object mapping: $. - name: microsoft-azure-predict-image-without description: Microsoft Azure Predict An Image Without Saving The Result hints: readOnly: false destructive: false idempotent: false call: predictionendpoint-imagepredictionapi.microsoftazurepredictimagewithnostore with: projectId: tools.projectId iterationId: tools.iterationId application: tools.application imageData: tools.imageData outputParameters: - type: object mapping: $. - name: microsoft-azure-predict-image-url description: Microsoft Azure Predict An Image Url And Saves The Result hints: readOnly: false destructive: false idempotent: false call: predictionendpoint-imagepredictionapi.microsoftazurepredictimageurl with: projectId: tools.projectId imageUrl: tools.imageUrl iterationId: tools.iterationId application: tools.application outputParameters: - type: object mapping: $. - name: microsoft-azure-predict-image-url-2 description: Microsoft Azure Predict An Image Url Without Saving The Result hints: readOnly: false destructive: false idempotent: false call: predictionendpoint-imagepredictionapi.microsoftazurepredictimageurlwithnostore with: projectId: tools.projectId imageUrl: tools.imageUrl iterationId: tools.iterationId application: tools.application outputParameters: - type: object mapping: $.