Apache Airflow · Capability

Airflow API (Stable) — Pool

Airflow API (Stable) — Pool. 5 operations. Lead operation: Apache Airflow List Pools. Self-contained Naftiko capability covering one Apache Airflow business surface.

Run with Naftiko Apache AirflowPool

What You Can Do

GET
Getpools — Apache Airflow List Pools
/v1/pools
POST
Postpool — Apache Airflow Create a Pool
/v1/pools
DELETE
Deletepool — Apache Airflow Delete a Pool
/v1/pools/{pool-name}
GET
Getpool — Apache Airflow Get a Pool
/v1/pools/{pool-name}
PATCH
Patchpool — Apache Airflow Update a Pool
/v1/pools/{pool-name}

MCP Tools

apache-airflow-list-pools

Apache Airflow List Pools

read-only idempotent
apache-airflow-create-pool

Apache Airflow Create a Pool

apache-airflow-delete-pool

Apache Airflow Delete a Pool

idempotent
apache-airflow-get-pool

Apache Airflow Get a Pool

read-only idempotent
apache-airflow-update-pool

Apache Airflow Update a Pool

idempotent

Capability Spec

apache-airflow-pool.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Airflow API (Stable) — Pool
  description: 'Airflow API (Stable) — Pool. 5 operations. Lead operation: Apache Airflow List Pools. Self-contained Naftiko
    capability covering one Apache Airflow business surface.'
  tags:
  - Apache Airflow
  - Pool
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    APACHE_AIRFLOW_API_KEY: APACHE_AIRFLOW_API_KEY
capability:
  consumes:
  - type: http
    namespace: apache-airflow-pool
    baseUri: ''
    description: Airflow API (Stable) — Pool business capability. Self-contained, no shared references.
    resources:
    - name: pools
      path: /pools
      operations:
      - name: getpools
        method: GET
        description: Apache Airflow List Pools
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: postpool
        method: POST
        description: Apache Airflow Create a Pool
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: pools-pool_name
      path: /pools/{pool_name}
      operations:
      - name: deletepool
        method: DELETE
        description: Apache Airflow Delete a Pool
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: getpool
        method: GET
        description: Apache Airflow Get a Pool
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: patchpool
        method: PATCH
        description: Apache Airflow Update a Pool
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: basic
      username: '{{env.APACHE_AIRFLOW_USER}}'
      password: '{{env.APACHE_AIRFLOW_PASS}}'
  exposes:
  - type: rest
    namespace: apache-airflow-pool-rest
    port: 8080
    description: REST adapter for Airflow API (Stable) — Pool. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/pools
      name: pools
      description: REST surface for pools.
      operations:
      - method: GET
        name: getpools
        description: Apache Airflow List Pools
        call: apache-airflow-pool.getpools
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: postpool
        description: Apache Airflow Create a Pool
        call: apache-airflow-pool.postpool
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/pools/{pool-name}
      name: pools-pool-name
      description: REST surface for pools-pool_name.
      operations:
      - method: DELETE
        name: deletepool
        description: Apache Airflow Delete a Pool
        call: apache-airflow-pool.deletepool
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: getpool
        description: Apache Airflow Get a Pool
        call: apache-airflow-pool.getpool
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: patchpool
        description: Apache Airflow Update a Pool
        call: apache-airflow-pool.patchpool
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: apache-airflow-pool-mcp
    port: 9090
    transport: http
    description: MCP adapter for Airflow API (Stable) — Pool. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: apache-airflow-list-pools
      description: Apache Airflow List Pools
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: apache-airflow-pool.getpools
      outputParameters:
      - type: object
        mapping: $.
    - name: apache-airflow-create-pool
      description: Apache Airflow Create a Pool
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: apache-airflow-pool.postpool
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apache-airflow-delete-pool
      description: Apache Airflow Delete a Pool
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: apache-airflow-pool.deletepool
      outputParameters:
      - type: object
        mapping: $.
    - name: apache-airflow-get-pool
      description: Apache Airflow Get a Pool
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: apache-airflow-pool.getpool
      outputParameters:
      - type: object
        mapping: $.
    - name: apache-airflow-update-pool
      description: Apache Airflow Update a Pool
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: apache-airflow-pool.patchpool
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.