Google Cloud CDN · Capability

Google Cloud CDN API — CacheInvalidation

Google Cloud CDN API — CacheInvalidation. 1 operations. Lead operation: Google Cloud CDN Invalidate Cache. Self-contained Naftiko capability covering one Google Cloud Cdn business surface.

Run with Naftiko Google Cloud CdnCacheInvalidation

What You Can Do

POST
Invalidatecache — Google Cloud CDN Invalidate Cache
/v1/projects/{project}/global/backendservices/{backendservice}/invalidatecache

MCP Tools

google-cloud-cdn-invalidate-cache

Google Cloud CDN Invalidate Cache

read-only

Capability Spec

cdn-cacheinvalidation.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Google Cloud CDN API — CacheInvalidation
  description: 'Google Cloud CDN API — CacheInvalidation. 1 operations. Lead operation: Google Cloud CDN Invalidate Cache.
    Self-contained Naftiko capability covering one Google Cloud Cdn business surface.'
  tags:
  - Google Cloud Cdn
  - CacheInvalidation
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GOOGLE_CLOUD_CDN_API_KEY: GOOGLE_CLOUD_CDN_API_KEY
capability:
  consumes:
  - type: http
    namespace: cdn-cacheinvalidation
    baseUri: https://compute.googleapis.com/compute/v1
    description: Google Cloud CDN API — CacheInvalidation business capability. Self-contained, no shared references.
    resources:
    - name: projects-project-global-backendServices-backendService-invalidateCache
      path: /projects/{project}/global/backendServices/{backendService}/invalidateCache
      operations:
      - name: invalidatecache
        method: POST
        description: Google Cloud CDN Invalidate Cache
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: project
          in: path
          type: string
          required: true
        - name: backendService
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    authentication:
      type: bearer
      token: '{{env.GOOGLE_CLOUD_CDN_API_KEY}}'
  exposes:
  - type: rest
    namespace: cdn-cacheinvalidation-rest
    port: 8080
    description: REST adapter for Google Cloud CDN API — CacheInvalidation. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/projects/{project}/global/backendservices/{backendservice}/invalidatecache
      name: projects-project-global-backendservices-backendservice-invalidatecache
      description: REST surface for projects-project-global-backendServices-backendService-invalidateCache.
      operations:
      - method: POST
        name: invalidatecache
        description: Google Cloud CDN Invalidate Cache
        call: cdn-cacheinvalidation.invalidatecache
        with:
          project: rest.project
          backendService: rest.backendService
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: cdn-cacheinvalidation-mcp
    port: 9090
    transport: http
    description: MCP adapter for Google Cloud CDN API — CacheInvalidation. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: google-cloud-cdn-invalidate-cache
      description: Google Cloud CDN Invalidate Cache
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: cdn-cacheinvalidation.invalidatecache
      with:
        project: tools.project
        backendService: tools.backendService
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.