Windmill · Capability

Windmill API — favorite

Windmill API — favorite. 2 operations. Lead operation: Star Item. Self-contained Naftiko capability covering one Windmill business surface.

Run with Naftiko Windmillfavorite

What You Can Do

POST
Star — Star Item
/v1/w/{workspace}/favorites/star
POST
Unstar — Unstar Item
/v1/w/{workspace}/favorites/unstar

MCP Tools

star-item

Star Item

unstar-item

Unstar Item

Capability Spec

windmill-favorite.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Windmill API — favorite
  description: 'Windmill API — favorite. 2 operations. Lead operation: Star Item. Self-contained Naftiko capability covering
    one Windmill business surface.'
  tags:
  - Windmill
  - favorite
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    WINDMILL_API_KEY: WINDMILL_API_KEY
capability:
  consumes:
  - type: http
    namespace: windmill-favorite
    baseUri: ''
    description: Windmill API — favorite business capability. Self-contained, no shared references.
    resources:
    - name: w-workspace-favorites-star
      path: /w/{workspace}/favorites/star
      operations:
      - name: star
        method: POST
        description: Star Item
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: w-workspace-favorites-unstar
      path: /w/{workspace}/favorites/unstar
      operations:
      - name: unstar
        method: POST
        description: Unstar Item
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    authentication:
      type: bearer
      token: '{{env.WINDMILL_API_KEY}}'
  exposes:
  - type: rest
    namespace: windmill-favorite-rest
    port: 8080
    description: REST adapter for Windmill API — favorite. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/w/{workspace}/favorites/star
      name: w-workspace-favorites-star
      description: REST surface for w-workspace-favorites-star.
      operations:
      - method: POST
        name: star
        description: Star Item
        call: windmill-favorite.star
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/w/{workspace}/favorites/unstar
      name: w-workspace-favorites-unstar
      description: REST surface for w-workspace-favorites-unstar.
      operations:
      - method: POST
        name: unstar
        description: Unstar Item
        call: windmill-favorite.unstar
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: windmill-favorite-mcp
    port: 9090
    transport: http
    description: MCP adapter for Windmill API — favorite. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: star-item
      description: Star Item
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: windmill-favorite.star
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: unstar-item
      description: Unstar Item
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: windmill-favorite.unstar
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.