Windmill · Capability

Windmill API — input

Windmill API — input. 6 operations. Lead operation: Create an Input for Future Use in a Script or Flow. Self-contained Naftiko capability covering one Windmill business surface.

Run with Naftiko Windmillinput

What You Can Do

POST
Createinput — Create an Input for Future Use in a Script or Flow
/v1/w/{workspace}/inputs/create
POST
Deleteinput — Delete a Saved Input
/v1/w/{workspace}/inputs/delete/{input}
GET
Getinputhistory — List Inputs Used in Previously Completed Jobs
/v1/w/{workspace}/inputs/history
GET
Listinputs — List Saved Inputs for a Runnable
/v1/w/{workspace}/inputs/list
POST
Updateinput — Update an Input
/v1/w/{workspace}/inputs/update
GET
Getargsfromhistoryorsavedinput — Get Args from History or Saved Input
/v1/w/{workspace}/inputs/{joborinputid}/args

MCP Tools

create-input-future-use-script

Create an Input for Future Use in a Script or Flow

delete-saved-input

Delete a Saved Input

list-inputs-used-previously-completed

List Inputs Used in Previously Completed Jobs

read-only idempotent
list-saved-inputs-runnable

List Saved Inputs for a Runnable

read-only idempotent
update-input

Update an Input

get-args-history-saved-input

Get Args from History or Saved Input

read-only idempotent

Capability Spec

windmill-input.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Windmill API — input
  description: 'Windmill API — input. 6 operations. Lead operation: Create an Input for Future Use in a Script or Flow. Self-contained
    Naftiko capability covering one Windmill business surface.'
  tags:
  - Windmill
  - input
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    WINDMILL_API_KEY: WINDMILL_API_KEY
capability:
  consumes:
  - type: http
    namespace: windmill-input
    baseUri: ''
    description: Windmill API — input business capability. Self-contained, no shared references.
    resources:
    - name: w-workspace-inputs-create
      path: /w/{workspace}/inputs/create
      operations:
      - name: createinput
        method: POST
        description: Create an Input for Future Use in a Script or Flow
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: w-workspace-inputs-delete-input
      path: /w/{workspace}/inputs/delete/{input}
      operations:
      - name: deleteinput
        method: POST
        description: Delete a Saved Input
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: w-workspace-inputs-history
      path: /w/{workspace}/inputs/history
      operations:
      - name: getinputhistory
        method: GET
        description: List Inputs Used in Previously Completed Jobs
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: include_preview
          in: query
          type: boolean
    - name: w-workspace-inputs-list
      path: /w/{workspace}/inputs/list
      operations:
      - name: listinputs
        method: GET
        description: List Saved Inputs for a Runnable
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: w-workspace-inputs-update
      path: /w/{workspace}/inputs/update
      operations:
      - name: updateinput
        method: POST
        description: Update an Input
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: w-workspace-inputs-jobOrInputId-args
      path: /w/{workspace}/inputs/{jobOrInputId}/args
      operations:
      - name: getargsfromhistoryorsavedinput
        method: GET
        description: Get Args from History or Saved Input
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: jobOrInputId
          in: path
          type: string
          required: true
        - name: input
          in: query
          type: boolean
        - name: allow_large
          in: query
          type: boolean
    authentication:
      type: bearer
      token: '{{env.WINDMILL_API_KEY}}'
  exposes:
  - type: rest
    namespace: windmill-input-rest
    port: 8080
    description: REST adapter for Windmill API — input. One Spectral-compliant resource per consumed operation, prefixed with
      /v1.
    resources:
    - path: /v1/w/{workspace}/inputs/create
      name: w-workspace-inputs-create
      description: REST surface for w-workspace-inputs-create.
      operations:
      - method: POST
        name: createinput
        description: Create an Input for Future Use in a Script or Flow
        call: windmill-input.createinput
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/w/{workspace}/inputs/delete/{input}
      name: w-workspace-inputs-delete-input
      description: REST surface for w-workspace-inputs-delete-input.
      operations:
      - method: POST
        name: deleteinput
        description: Delete a Saved Input
        call: windmill-input.deleteinput
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/w/{workspace}/inputs/history
      name: w-workspace-inputs-history
      description: REST surface for w-workspace-inputs-history.
      operations:
      - method: GET
        name: getinputhistory
        description: List Inputs Used in Previously Completed Jobs
        call: windmill-input.getinputhistory
        with:
          include_preview: rest.include_preview
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/w/{workspace}/inputs/list
      name: w-workspace-inputs-list
      description: REST surface for w-workspace-inputs-list.
      operations:
      - method: GET
        name: listinputs
        description: List Saved Inputs for a Runnable
        call: windmill-input.listinputs
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/w/{workspace}/inputs/update
      name: w-workspace-inputs-update
      description: REST surface for w-workspace-inputs-update.
      operations:
      - method: POST
        name: updateinput
        description: Update an Input
        call: windmill-input.updateinput
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/w/{workspace}/inputs/{joborinputid}/args
      name: w-workspace-inputs-joborinputid-args
      description: REST surface for w-workspace-inputs-jobOrInputId-args.
      operations:
      - method: GET
        name: getargsfromhistoryorsavedinput
        description: Get Args from History or Saved Input
        call: windmill-input.getargsfromhistoryorsavedinput
        with:
          jobOrInputId: rest.jobOrInputId
          input: rest.input
          allow_large: rest.allow_large
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: windmill-input-mcp
    port: 9090
    transport: http
    description: MCP adapter for Windmill API — input. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: create-input-future-use-script
      description: Create an Input for Future Use in a Script or Flow
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: windmill-input.createinput
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-saved-input
      description: Delete a Saved Input
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: windmill-input.deleteinput
      outputParameters:
      - type: object
        mapping: $.
    - name: list-inputs-used-previously-completed
      description: List Inputs Used in Previously Completed Jobs
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: windmill-input.getinputhistory
      with:
        include_preview: tools.include_preview
      outputParameters:
      - type: object
        mapping: $.
    - name: list-saved-inputs-runnable
      description: List Saved Inputs for a Runnable
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: windmill-input.listinputs
      outputParameters:
      - type: object
        mapping: $.
    - name: update-input
      description: Update an Input
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: windmill-input.updateinput
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-args-history-saved-input
      description: Get Args from History or Saved Input
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: windmill-input.getargsfromhistoryorsavedinput
      with:
        jobOrInputId: tools.jobOrInputId
        input: tools.input
        allow_large: tools.allow_large
      outputParameters:
      - type: object
        mapping: $.