Conductor · Capability

Conductor API — Metadata - Task

Conductor API — Metadata - Task. 5 operations. Lead operation: Conductor Create New Task Definitions. Self-contained Naftiko capability covering one Conductor business surface.

Run with Naftiko ConductorMetadata - Task

What You Can Do

POST
Createtaskdefinitions — Conductor Create New Task Definitions
/v1/metadata/taskdefs
GET
Getalltaskdefinitions — Conductor Get All Task Definitions
/v1/metadata/taskdefs
PUT
Updatetaskdefinition — Conductor Update a Task Definition
/v1/metadata/taskdefs
GET
Gettaskdefinition — Conductor Get a Task Definition
/v1/metadata/taskdefs/{tasktype}
DELETE
Deletetaskdefinition — Conductor Delete a Task Definition
/v1/metadata/taskdefs/{tasktype}

MCP Tools

conductor-create-new-task-definitions

Conductor Create New Task Definitions

conductor-get-all-task-definitions

Conductor Get All Task Definitions

read-only idempotent
conductor-update-task-definition

Conductor Update a Task Definition

idempotent
conductor-get-task-definition

Conductor Get a Task Definition

read-only idempotent
conductor-delete-task-definition

Conductor Delete a Task Definition

idempotent

Capability Spec

conductor-metadata-task.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Conductor API — Metadata - Task
  description: 'Conductor API — Metadata - Task. 5 operations. Lead operation: Conductor Create New Task Definitions. Self-contained
    Naftiko capability covering one Conductor business surface.'
  tags:
  - Conductor
  - Metadata - Task
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    CONDUCTOR_API_KEY: CONDUCTOR_API_KEY
capability:
  consumes:
  - type: http
    namespace: conductor-metadata-task
    baseUri: https://localhost:8080/api
    description: Conductor API — Metadata - Task business capability. Self-contained, no shared references.
    resources:
    - name: metadata-taskdefs
      path: /metadata/taskdefs
      operations:
      - name: createtaskdefinitions
        method: POST
        description: Conductor Create New Task Definitions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: getalltaskdefinitions
        method: GET
        description: Conductor Get All Task Definitions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updatetaskdefinition
        method: PUT
        description: Conductor Update a Task Definition
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: metadata-taskdefs-taskType
      path: /metadata/taskdefs/{taskType}
      operations:
      - name: gettaskdefinition
        method: GET
        description: Conductor Get a Task Definition
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: taskType
          in: path
          type: string
          description: The task type name
          required: true
      - name: deletetaskdefinition
        method: DELETE
        description: Conductor Delete a Task Definition
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: taskType
          in: path
          type: string
          description: The task type name
          required: true
  exposes:
  - type: rest
    namespace: conductor-metadata-task-rest
    port: 8080
    description: REST adapter for Conductor API — Metadata - Task. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/metadata/taskdefs
      name: metadata-taskdefs
      description: REST surface for metadata-taskdefs.
      operations:
      - method: POST
        name: createtaskdefinitions
        description: Conductor Create New Task Definitions
        call: conductor-metadata-task.createtaskdefinitions
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: getalltaskdefinitions
        description: Conductor Get All Task Definitions
        call: conductor-metadata-task.getalltaskdefinitions
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatetaskdefinition
        description: Conductor Update a Task Definition
        call: conductor-metadata-task.updatetaskdefinition
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/metadata/taskdefs/{tasktype}
      name: metadata-taskdefs-tasktype
      description: REST surface for metadata-taskdefs-taskType.
      operations:
      - method: GET
        name: gettaskdefinition
        description: Conductor Get a Task Definition
        call: conductor-metadata-task.gettaskdefinition
        with:
          taskType: rest.taskType
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletetaskdefinition
        description: Conductor Delete a Task Definition
        call: conductor-metadata-task.deletetaskdefinition
        with:
          taskType: rest.taskType
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: conductor-metadata-task-mcp
    port: 9090
    transport: http
    description: MCP adapter for Conductor API — Metadata - Task. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: conductor-create-new-task-definitions
      description: Conductor Create New Task Definitions
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: conductor-metadata-task.createtaskdefinitions
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: conductor-get-all-task-definitions
      description: Conductor Get All Task Definitions
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: conductor-metadata-task.getalltaskdefinitions
      outputParameters:
      - type: object
        mapping: $.
    - name: conductor-update-task-definition
      description: Conductor Update a Task Definition
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: conductor-metadata-task.updatetaskdefinition
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: conductor-get-task-definition
      description: Conductor Get a Task Definition
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: conductor-metadata-task.gettaskdefinition
      with:
        taskType: tools.taskType
      outputParameters:
      - type: object
        mapping: $.
    - name: conductor-delete-task-definition
      description: Conductor Delete a Task Definition
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: conductor-metadata-task.deletetaskdefinition
      with:
        taskType: tools.taskType
      outputParameters:
      - type: object
        mapping: $.