microsoft-azure-batch · Capability

Azure Batch Service REST API — Jobs

Azure Batch Service REST API — Jobs. 2 operations. Lead operation: Batch List jobs. Self-contained Naftiko capability covering one Microsoft Azure Batch business surface.

Run with Naftiko Microsoft Azure BatchJobs

What You Can Do

GET
Listjobs — Batch List jobs
/v1/jobs
POST
Addjob — Batch Add job
/v1/jobs

MCP Tools

batch-list-jobs

Batch List jobs

read-only idempotent
batch-add-job

Batch Add job

Capability Spec

microsoft-azure-batch-jobs.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Azure Batch Service REST API — Jobs
  description: 'Azure Batch Service REST API — Jobs. 2 operations. Lead operation: Batch List jobs. Self-contained Naftiko
    capability covering one Microsoft Azure Batch business surface.'
  tags:
  - Microsoft Azure Batch
  - Jobs
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_AZURE_BATCH_API_KEY: MICROSOFT_AZURE_BATCH_API_KEY
capability:
  consumes:
  - type: http
    namespace: microsoft-azure-batch-jobs
    baseUri: https://{account}.{region}.batch.azure.com
    description: Azure Batch Service REST API — Jobs business capability. Self-contained, no shared references.
    resources:
    - name: jobs
      path: /jobs
      operations:
      - name: listjobs
        method: GET
        description: Batch List jobs
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: api-version
          in: query
          type: string
          required: true
      - name: addjob
        method: POST
        description: Batch Add job
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: api-version
          in: query
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.MICROSOFT_AZURE_BATCH_API_KEY}}'
  exposes:
  - type: rest
    namespace: microsoft-azure-batch-jobs-rest
    port: 8080
    description: REST adapter for Azure Batch Service REST API — Jobs. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/jobs
      name: jobs
      description: REST surface for jobs.
      operations:
      - method: GET
        name: listjobs
        description: Batch List jobs
        call: microsoft-azure-batch-jobs.listjobs
        with:
          api-version: rest.api-version
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: addjob
        description: Batch Add job
        call: microsoft-azure-batch-jobs.addjob
        with:
          api-version: rest.api-version
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: microsoft-azure-batch-jobs-mcp
    port: 9090
    transport: http
    description: MCP adapter for Azure Batch Service REST API — Jobs. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: batch-list-jobs
      description: Batch List jobs
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-azure-batch-jobs.listjobs
      with:
        api-version: tools.api-version
      outputParameters:
      - type: object
        mapping: $.
    - name: batch-add-job
      description: Batch Add job
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: microsoft-azure-batch-jobs.addjob
      with:
        api-version: tools.api-version
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.