42Crunch · Capability

42Crunch API Conformance Scan Jobs Manager — Jobs

42Crunch API Conformance Scan Jobs Manager — Jobs. 4 operations. Lead operation: 42Crunch List All Scan Jobs. Self-contained Naftiko capability covering one 42crunch business surface.

Run with Naftiko 42crunchJobs

What You Can Do

GET
Listjobs — 42Crunch List All Scan Jobs
/v1/api/job
POST
Createjob — 42Crunch Create Scan Job
/v1/api/job
GET
Getjob — 42Crunch Get Scan Job Status
/v1/api/job/{name}
DELETE
Deletejob — 42Crunch Delete Scan Job
/v1/api/job/{name}

MCP Tools

42crunch-list-all-scan-jobs

42Crunch List All Scan Jobs

read-only idempotent
42crunch-create-scan-job

42Crunch Create Scan Job

42crunch-get-scan-job-status

42Crunch Get Scan Job Status

read-only idempotent
42crunch-delete-scan-job

42Crunch Delete Scan Job

idempotent

Capability Spec

scand-manager-jobs.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: 42Crunch API Conformance Scan Jobs Manager — Jobs
  description: '42Crunch API Conformance Scan Jobs Manager — Jobs. 4 operations. Lead operation: 42Crunch List All Scan Jobs.
    Self-contained Naftiko capability covering one 42crunch business surface.'
  tags:
  - 42crunch
  - Jobs
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    42CRUNCH_API_KEY: 42CRUNCH_API_KEY
capability:
  consumes:
  - type: http
    namespace: scand-manager-jobs
    baseUri: http://localhost:8090
    description: 42Crunch API Conformance Scan Jobs Manager — Jobs business capability. Self-contained, no shared references.
    resources:
    - name: api-job
      path: /api/job
      operations:
      - name: listjobs
        method: GET
        description: 42Crunch List All Scan Jobs
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createjob
        method: POST
        description: 42Crunch Create Scan Job
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-job-name
      path: /api/job/{name}
      operations:
      - name: getjob
        method: GET
        description: 42Crunch Get Scan Job Status
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          description: The name of the scan job (e.g., scand-48340c78-a76c-475f-aa4a-36fc834b3c02)
          required: true
      - name: deletejob
        method: DELETE
        description: 42Crunch Delete Scan Job
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: name
          in: path
          type: string
          description: The name of the scan job to delete
          required: true
  exposes:
  - type: rest
    namespace: scand-manager-jobs-rest
    port: 8080
    description: REST adapter for 42Crunch API Conformance Scan Jobs Manager — Jobs. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/api/job
      name: api-job
      description: REST surface for api-job.
      operations:
      - method: GET
        name: listjobs
        description: 42Crunch List All Scan Jobs
        call: scand-manager-jobs.listjobs
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createjob
        description: 42Crunch Create Scan Job
        call: scand-manager-jobs.createjob
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/job/{name}
      name: api-job-name
      description: REST surface for api-job-name.
      operations:
      - method: GET
        name: getjob
        description: 42Crunch Get Scan Job Status
        call: scand-manager-jobs.getjob
        with:
          name: rest.name
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletejob
        description: 42Crunch Delete Scan Job
        call: scand-manager-jobs.deletejob
        with:
          name: rest.name
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: scand-manager-jobs-mcp
    port: 9090
    transport: http
    description: MCP adapter for 42Crunch API Conformance Scan Jobs Manager — Jobs. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: 42crunch-list-all-scan-jobs
      description: 42Crunch List All Scan Jobs
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: scand-manager-jobs.listjobs
      outputParameters:
      - type: object
        mapping: $.
    - name: 42crunch-create-scan-job
      description: 42Crunch Create Scan Job
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: scand-manager-jobs.createjob
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: 42crunch-get-scan-job-status
      description: 42Crunch Get Scan Job Status
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: scand-manager-jobs.getjob
      with:
        name: tools.name
      outputParameters:
      - type: object
        mapping: $.
    - name: 42crunch-delete-scan-job
      description: 42Crunch Delete Scan Job
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: scand-manager-jobs.deletejob
      with:
        name: tools.name
      outputParameters:
      - type: object
        mapping: $.