fastly · Capability

Fastly VCL Services API — Response Object

Fastly VCL Services API — Response Object. 2 operations. Lead operation: List response objects. Self-contained Naftiko capability covering one Fastly business surface.

Run with Naftiko FastlyResponse Object

What You Can Do

GET
Listresponseobjects — List response objects
/v1/service/{service-id}/version/{version-id}/response-object
POST
Createresponseobject — Create a response object
/v1/service/{service-id}/version/{version-id}/response-object

MCP Tools

list-response-objects

List response objects

read-only idempotent
create-response-object

Create a response object

Capability Spec

vcl-services-response-object.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Fastly VCL Services API — Response Object
  description: 'Fastly VCL Services API — Response Object. 2 operations. Lead operation: List response objects. Self-contained
    Naftiko capability covering one Fastly business surface.'
  tags:
  - Fastly
  - Response Object
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    FASTLY_API_KEY: FASTLY_API_KEY
capability:
  consumes:
  - type: http
    namespace: vcl-services-response-object
    baseUri: https://api.fastly.com
    description: Fastly VCL Services API — Response Object business capability. Self-contained, no shared references.
    resources:
    - name: service-service_id-version-version_id-response_object
      path: /service/{service_id}/version/{version_id}/response_object
      operations:
      - name: listresponseobjects
        method: GET
        description: List response objects
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createresponseobject
        method: POST
        description: Create a response object
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: Fastly-Key
      value: '{{env.FASTLY_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: vcl-services-response-object-rest
    port: 8080
    description: REST adapter for Fastly VCL Services API — Response Object. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/service/{service-id}/version/{version-id}/response-object
      name: service-service-id-version-version-id-response-object
      description: REST surface for service-service_id-version-version_id-response_object.
      operations:
      - method: GET
        name: listresponseobjects
        description: List response objects
        call: vcl-services-response-object.listresponseobjects
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createresponseobject
        description: Create a response object
        call: vcl-services-response-object.createresponseobject
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: vcl-services-response-object-mcp
    port: 9090
    transport: http
    description: MCP adapter for Fastly VCL Services API — Response Object. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: list-response-objects
      description: List response objects
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: vcl-services-response-object.listresponseobjects
      outputParameters:
      - type: object
        mapping: $.
    - name: create-response-object
      description: Create a response object
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: vcl-services-response-object.createresponseobject
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.