Webflow · Capability

Webflow Collections API — Sites

Webflow Collections API — Sites. 7 operations. Lead operation: Webflow Get Collection Details. Self-contained Naftiko capability covering one Webflow business surface.

Run with Naftiko WebflowSites

What You Can Do

GET
Collectiondetails — Webflow Get Collection Details
/v1/collections/{collection-id}
DELETE
Deletecollection — Webflow Delete Collection
/v1/collections/{collection-id}
POST
Createfield — Webflow Create Collection Field
/v1/collections/{collection-id}/fields
PATCH
Updatefield — Webflow Update Collection Field
/v1/collections/{collection-id}/fields/{field-id}
DELETE
Deletefield — Webflow Delete Collection Field
/v1/collections/{collection-id}/fields/{field-id}
GET
Listcollections — Webflow List Collections
/v1/sites/{site-id}/collections
POST
Createcollection — Webflow Create Collection
/v1/sites/{site-id}/collections

MCP Tools

webflow-get-collection-details

Webflow Get Collection Details

read-only idempotent
webflow-delete-collection

Webflow Delete Collection

idempotent
webflow-create-collection-field

Webflow Create Collection Field

webflow-update-collection-field

Webflow Update Collection Field

idempotent
webflow-delete-collection-field

Webflow Delete Collection Field

idempotent
webflow-list-collections

Webflow List Collections

read-only idempotent
webflow-create-collection

Webflow Create Collection

Capability Spec

collections-sites.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Webflow Collections API — Sites
  description: 'Webflow Collections API — Sites. 7 operations. Lead operation: Webflow Get Collection Details. Self-contained
    Naftiko capability covering one Webflow business surface.'
  tags:
  - Webflow
  - Sites
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    WEBFLOW_API_KEY: WEBFLOW_API_KEY
capability:
  consumes:
  - type: http
    namespace: collections-sites
    baseUri: https://api.webflow.com/v2
    description: Webflow Collections API — Sites business capability. Self-contained, no shared references.
    resources:
    - name: collections-collection_id
      path: /collections/{collection_id}
      operations:
      - name: collectiondetails
        method: GET
        description: Webflow Get Collection Details
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: collection_id
          in: path
          type: string
          description: Unique identifier for a Collection
          required: true
      - name: deletecollection
        method: DELETE
        description: Webflow Delete Collection
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: collection_id
          in: path
          type: string
          description: Unique identifier for a Collection
          required: true
    - name: collections-collection_id-fields
      path: /collections/{collection_id}/fields
      operations:
      - name: createfield
        method: POST
        description: Webflow Create Collection Field
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: collection_id
          in: path
          type: string
          description: Unique identifier for a Collection
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: collections-collection_id-fields-field_id
      path: /collections/{collection_id}/fields/{field_id}
      operations:
      - name: updatefield
        method: PATCH
        description: Webflow Update Collection Field
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: collection_id
          in: path
          type: string
          description: Unique identifier for a Collection
          required: true
        - name: field_id
          in: path
          type: string
          description: Unique identifier for a Field in a collection
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: deletefield
        method: DELETE
        description: Webflow Delete Collection Field
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: collection_id
          in: path
          type: string
          description: Unique identifier for a Collection
          required: true
        - name: field_id
          in: path
          type: string
          description: Unique identifier for a Field in a collection
          required: true
    - name: sites-site_id-collections
      path: /sites/{site_id}/collections
      operations:
      - name: listcollections
        method: GET
        description: Webflow List Collections
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: site_id
          in: path
          type: string
          description: Unique identifier for a Site
          required: true
      - name: createcollection
        method: POST
        description: Webflow Create Collection
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: site_id
          in: path
          type: string
          description: Unique identifier for a Site
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.WEBFLOW_API_KEY}}'
  exposes:
  - type: rest
    namespace: collections-sites-rest
    port: 8080
    description: REST adapter for Webflow Collections API — Sites. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/collections/{collection-id}
      name: collections-collection-id
      description: REST surface for collections-collection_id.
      operations:
      - method: GET
        name: collectiondetails
        description: Webflow Get Collection Details
        call: collections-sites.collectiondetails
        with:
          collection_id: rest.collection_id
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletecollection
        description: Webflow Delete Collection
        call: collections-sites.deletecollection
        with:
          collection_id: rest.collection_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/collections/{collection-id}/fields
      name: collections-collection-id-fields
      description: REST surface for collections-collection_id-fields.
      operations:
      - method: POST
        name: createfield
        description: Webflow Create Collection Field
        call: collections-sites.createfield
        with:
          collection_id: rest.collection_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/collections/{collection-id}/fields/{field-id}
      name: collections-collection-id-fields-field-id
      description: REST surface for collections-collection_id-fields-field_id.
      operations:
      - method: PATCH
        name: updatefield
        description: Webflow Update Collection Field
        call: collections-sites.updatefield
        with:
          collection_id: rest.collection_id
          field_id: rest.field_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletefield
        description: Webflow Delete Collection Field
        call: collections-sites.deletefield
        with:
          collection_id: rest.collection_id
          field_id: rest.field_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sites/{site-id}/collections
      name: sites-site-id-collections
      description: REST surface for sites-site_id-collections.
      operations:
      - method: GET
        name: listcollections
        description: Webflow List Collections
        call: collections-sites.listcollections
        with:
          site_id: rest.site_id
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createcollection
        description: Webflow Create Collection
        call: collections-sites.createcollection
        with:
          site_id: rest.site_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: collections-sites-mcp
    port: 9090
    transport: http
    description: MCP adapter for Webflow Collections API — Sites. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: webflow-get-collection-details
      description: Webflow Get Collection Details
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: collections-sites.collectiondetails
      with:
        collection_id: tools.collection_id
      outputParameters:
      - type: object
        mapping: $.
    - name: webflow-delete-collection
      description: Webflow Delete Collection
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: collections-sites.deletecollection
      with:
        collection_id: tools.collection_id
      outputParameters:
      - type: object
        mapping: $.
    - name: webflow-create-collection-field
      description: Webflow Create Collection Field
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: collections-sites.createfield
      with:
        collection_id: tools.collection_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: webflow-update-collection-field
      description: Webflow Update Collection Field
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: collections-sites.updatefield
      with:
        collection_id: tools.collection_id
        field_id: tools.field_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: webflow-delete-collection-field
      description: Webflow Delete Collection Field
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: collections-sites.deletefield
      with:
        collection_id: tools.collection_id
        field_id: tools.field_id
      outputParameters:
      - type: object
        mapping: $.
    - name: webflow-list-collections
      description: Webflow List Collections
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: collections-sites.listcollections
      with:
        site_id: tools.site_id
      outputParameters:
      - type: object
        mapping: $.
    - name: webflow-create-collection
      description: Webflow Create Collection
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: collections-sites.createcollection
      with:
        site_id: tools.site_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.