Microsoft Azure · Capability

Microsoft Azure TrainingApi — PredictionsApi

Microsoft Azure TrainingApi — 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.

Run with Naftiko Microsoft AzurePredictionsApi

What You Can Do

DELETE
Microsoftazuredeleteprediction — Microsoft Azure Delete A Set Of Predicted Images And Their Associated Prediction Results
/v1/projects/{projectid}/predictions
POST
Microsoftazurequerypredictions — Microsoft Azure Get Images That Were Sent To Your Prediction Endpoint
/v1/projects/{projectid}/predictions/query
POST
Microsoftazurequicktestimage — Microsoft Azure Quick Test An Image
/v1/projects/{projectid}/quicktest/image
POST
Microsoftazurequicktestimageurl — Microsoft Azure Quick Test An Image Url
/v1/projects/{projectid}/quicktest/url

MCP Tools

microsoft-azure-delete-set-predicted

Microsoft Azure Delete A Set Of Predicted Images And Their Associated Prediction Results

idempotent
microsoft-azure-get-images-that

Microsoft Azure Get Images That Were Sent To Your Prediction Endpoint

read-only
microsoft-azure-quick-test-image

Microsoft Azure Quick Test An Image

read-only
microsoft-azure-quick-test-image-2

Microsoft Azure Quick Test An Image Url

read-only

Capability Spec

trainingapi-predictionsapi.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Azure TrainingApi — PredictionsApi
  description: 'Microsoft Azure TrainingApi — 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: trainingapi-predictionsapi
    baseUri: https://southcentralus.api.cognitive.microsoft.com/customvision/v2.1/Training
    description: Microsoft Azure TrainingApi — 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: imageData
          in: formData
          type: file
          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 {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"
  exposes:
  - type: rest
    namespace: trainingapi-predictionsapi-rest
    port: 8080
    description: REST adapter for Microsoft Azure TrainingApi — 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: trainingapi-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: trainingapi-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: trainingapi-predictionsapi.microsoftazurequicktestimage
        with:
          projectId: rest.projectId
          iterationId: rest.iterationId
          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: trainingapi-predictionsapi.microsoftazurequicktestimageurl
        with:
          projectId: rest.projectId
          imageUrl: rest.imageUrl
          iterationId: rest.iterationId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: trainingapi-predictionsapi-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Azure TrainingApi — 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: trainingapi-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: trainingapi-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: trainingapi-predictionsapi.microsoftazurequicktestimage
      with:
        projectId: tools.projectId
        iterationId: tools.iterationId
        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: trainingapi-predictionsapi.microsoftazurequicktestimageurl
      with:
        projectId: tools.projectId
        imageUrl: tools.imageUrl
        iterationId: tools.iterationId
      outputParameters:
      - type: object
        mapping: $.