naftiko: 1.0.0-alpha2 info: label: Microsoft Azure Custom Vision Training Client — PredictionsApi description: 'Microsoft Azure Custom Vision Training Client — PredictionsApi. 4 operations. Lead operation: Microsoft Azure Delete A Set Of Predicted Images And Their Associated Prediction Results. Self-contained Naftiko capability covering one Microsoft Azure business surface.' tags: - Microsoft Azure - PredictionsApi 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-training-client-predictionsapi baseUri: https://southcentralus.api.cognitive.microsoft.com/customvision/v3.3/training description: Microsoft Azure Custom Vision Training Client — PredictionsApi business capability. Self-contained, no shared references. resources: - name: projects-projectId-predictions path: /projects/{projectId}/predictions operations: - name: microsoftazuredeleteprediction method: DELETE description: Microsoft Azure Delete A Set Of Predicted Images And Their Associated Prediction Results outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectId in: path type: string description: The project id. required: true - name: ids in: query type: array description: The prediction ids. Limited to 64. required: true - name: projects-projectId-predictions-query path: /projects/{projectId}/predictions/query operations: - name: microsoftazurequerypredictions method: POST description: Microsoft Azure Get Images That Were Sent To Your Prediction Endpoint outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectId in: path type: string description: The project id. required: true - name: query in: body type: string description: Parameters used to query the predictions. Limited to combining 2 tags. required: true - name: projects-projectId-quicktest-image path: /projects/{projectId}/quicktest/image operations: - name: microsoftazurequicktestimage method: POST description: Microsoft Azure Quick Test An Image 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: store in: query type: boolean description: Optional. Specifies whether or not to store the result of this prediction. The default is true, to store. - name: imageData in: formData type: file description: Binary image data. Supported formats are JPEG, GIF, PNG, and BMP. Supports images up to 6MB. required: true - name: projects-projectId-quicktest-url path: /projects/{projectId}/quicktest/url operations: - name: microsoftazurequicktestimageurl method: POST description: Microsoft Azure Quick Test An Image Url outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: projectId in: path type: string description: The project 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: iterationId in: query type: string description: "Optional. Specifies the id of a particular iteration to evaluate against.\r" - name: store in: query type: boolean description: Optional. Specifies whether or not to store the result of this prediction. The default is true, to store. exposes: - type: rest namespace: custom-vision-training-client-predictionsapi-rest port: 8080 description: REST adapter for Microsoft Azure Custom Vision Training Client — PredictionsApi. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/projects/{projectid}/predictions name: projects-projectid-predictions description: REST surface for projects-projectId-predictions. operations: - method: DELETE name: microsoftazuredeleteprediction description: Microsoft Azure Delete A Set Of Predicted Images And Their Associated Prediction Results call: custom-vision-training-client-predictionsapi.microsoftazuredeleteprediction with: projectId: rest.projectId ids: rest.ids outputParameters: - type: object mapping: $. - path: /v1/projects/{projectid}/predictions/query name: projects-projectid-predictions-query description: REST surface for projects-projectId-predictions-query. operations: - method: POST name: microsoftazurequerypredictions description: Microsoft Azure Get Images That Were Sent To Your Prediction Endpoint call: custom-vision-training-client-predictionsapi.microsoftazurequerypredictions with: projectId: rest.projectId query: rest.query outputParameters: - type: object mapping: $. - path: /v1/projects/{projectid}/quicktest/image name: projects-projectid-quicktest-image description: REST surface for projects-projectId-quicktest-image. operations: - method: POST name: microsoftazurequicktestimage description: Microsoft Azure Quick Test An Image call: custom-vision-training-client-predictionsapi.microsoftazurequicktestimage with: projectId: rest.projectId iterationId: rest.iterationId store: rest.store imageData: rest.imageData outputParameters: - type: object mapping: $. - path: /v1/projects/{projectid}/quicktest/url name: projects-projectid-quicktest-url description: REST surface for projects-projectId-quicktest-url. operations: - method: POST name: microsoftazurequicktestimageurl description: Microsoft Azure Quick Test An Image Url call: custom-vision-training-client-predictionsapi.microsoftazurequicktestimageurl with: projectId: rest.projectId imageUrl: rest.imageUrl iterationId: rest.iterationId store: rest.store outputParameters: - type: object mapping: $. - type: mcp namespace: custom-vision-training-client-predictionsapi-mcp port: 9090 transport: http description: MCP adapter for Microsoft Azure Custom Vision Training Client — PredictionsApi. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-azure-delete-set-predicted description: Microsoft Azure Delete A Set Of Predicted Images And Their Associated Prediction Results hints: readOnly: false destructive: true idempotent: true call: custom-vision-training-client-predictionsapi.microsoftazuredeleteprediction with: projectId: tools.projectId ids: tools.ids outputParameters: - type: object mapping: $. - name: microsoft-azure-get-images-that description: Microsoft Azure Get Images That Were Sent To Your Prediction Endpoint hints: readOnly: true destructive: false idempotent: false call: custom-vision-training-client-predictionsapi.microsoftazurequerypredictions with: projectId: tools.projectId query: tools.query outputParameters: - type: object mapping: $. - name: microsoft-azure-quick-test-image description: Microsoft Azure Quick Test An Image hints: readOnly: true destructive: false idempotent: false call: custom-vision-training-client-predictionsapi.microsoftazurequicktestimage with: projectId: tools.projectId iterationId: tools.iterationId store: tools.store imageData: tools.imageData outputParameters: - type: object mapping: $. - name: microsoft-azure-quick-test-image-2 description: Microsoft Azure Quick Test An Image Url hints: readOnly: true destructive: false idempotent: false call: custom-vision-training-client-predictionsapi.microsoftazurequicktestimageurl with: projectId: tools.projectId imageUrl: tools.imageUrl iterationId: tools.iterationId store: tools.store outputParameters: - type: object mapping: $.