Netlify · Capability

Netlify Netlify's API documentation — Purge

Netlify Netlify's API documentation — Purge. 1 operations. Lead operation: Purge. Self-contained Naftiko capability covering one Netlify business surface.

Run with Naftiko NetlifyPurge

What You Can Do

POST
Purgecache — Purges cached content from Netlify's CDN. Supports purging by Cache-Tag.
/v1/purge

MCP Tools

purges-cached-content-netlify-s-cdn

Purges cached content from Netlify's CDN. Supports purging by Cache-Tag.

Capability Spec

netlify-purge.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Netlify Netlify's API documentation — Purge
  description: 'Netlify Netlify''s API documentation — Purge. 1 operations. Lead operation: Purge. Self-contained Naftiko
    capability covering one Netlify business surface.'
  tags:
  - Netlify
  - Purge
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    NETLIFY_API_KEY: NETLIFY_API_KEY
capability:
  consumes:
  - type: http
    namespace: netlify-purge
    baseUri: https://api.netlify.com/api/v1
    description: Netlify Netlify's API documentation — Purge business capability. Self-contained, no shared references.
    resources:
    - name: purge
      path: /purge
      operations:
      - name: purgecache
        method: POST
        description: Purges cached content from Netlify's CDN. Supports purging by Cache-Tag.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.NETLIFY_API_KEY}}'
  exposes:
  - type: rest
    namespace: netlify-purge-rest
    port: 8080
    description: REST adapter for Netlify Netlify's API documentation — Purge. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/purge
      name: purge
      description: REST surface for purge.
      operations:
      - method: POST
        name: purgecache
        description: Purges cached content from Netlify's CDN. Supports purging by Cache-Tag.
        call: netlify-purge.purgecache
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: netlify-purge-mcp
    port: 9090
    transport: http
    description: MCP adapter for Netlify Netlify's API documentation — Purge. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: purges-cached-content-netlify-s-cdn
      description: Purges cached content from Netlify's CDN. Supports purging by Cache-Tag.
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: netlify-purge.purgecache
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.