fastly · Capability

Fastly TLS API — Platform TLS

Fastly TLS API — Platform TLS. 5 operations. Lead operation: List platform TLS bulk certificates. Self-contained Naftiko capability covering one Fastly business surface.

Run with Naftiko FastlyPlatform TLS

What You Can Do

GET
Listbulktlscertificates — List platform TLS bulk certificates
/v1/tls/bulk/certificates
POST
Createbulktlscertificate — Upload a platform TLS bulk certificate
/v1/tls/bulk/certificates
GET
Getbulktlscertificate — Get a platform TLS bulk certificate
/v1/tls/bulk/certificates/{tls-bulk-certificate-id}
PATCH
Updatebulktlscertificate — Update a platform TLS bulk certificate
/v1/tls/bulk/certificates/{tls-bulk-certificate-id}
DELETE
Deletebulktlscertificate — Delete a platform TLS bulk certificate
/v1/tls/bulk/certificates/{tls-bulk-certificate-id}

MCP Tools

list-platform-tls-bulk-certificates

List platform TLS bulk certificates

read-only idempotent
upload-platform-tls-bulk-certificate

Upload a platform TLS bulk certificate

get-platform-tls-bulk-certificate

Get a platform TLS bulk certificate

read-only idempotent
update-platform-tls-bulk-certificate

Update a platform TLS bulk certificate

idempotent
delete-platform-tls-bulk-certificate

Delete a platform TLS bulk certificate

idempotent

Capability Spec

tls-platform-tls.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Fastly TLS API — Platform TLS
  description: 'Fastly TLS API — Platform TLS. 5 operations. Lead operation: List platform TLS bulk certificates. Self-contained
    Naftiko capability covering one Fastly business surface.'
  tags:
  - Fastly
  - Platform TLS
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    FASTLY_API_KEY: FASTLY_API_KEY
capability:
  consumes:
  - type: http
    namespace: tls-platform-tls
    baseUri: https://api.fastly.com
    description: Fastly TLS API — Platform TLS business capability. Self-contained, no shared references.
    resources:
    - name: tls-bulk-certificates
      path: /tls/bulk/certificates
      operations:
      - name: listbulktlscertificates
        method: GET
        description: List platform TLS bulk certificates
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: page[number]
          in: query
          type: integer
          description: The page number to retrieve.
        - name: page[size]
          in: query
          type: integer
          description: The number of items per page.
        - name: sort
          in: query
          type: string
          description: The field to sort results by.
      - name: createbulktlscertificate
        method: POST
        description: Upload a platform TLS bulk certificate
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: tls-bulk-certificates-tls_bulk_certificate_id
      path: /tls/bulk/certificates/{tls_bulk_certificate_id}
      operations:
      - name: getbulktlscertificate
        method: GET
        description: Get a platform TLS bulk certificate
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: tls_bulk_certificate_id
          in: path
          type: string
          description: The alphanumeric string identifying the bulk TLS certificate.
          required: true
      - name: updatebulktlscertificate
        method: PATCH
        description: Update a platform TLS bulk certificate
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: tls_bulk_certificate_id
          in: path
          type: string
          description: The alphanumeric string identifying the bulk TLS certificate.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletebulktlscertificate
        method: DELETE
        description: Delete a platform TLS bulk certificate
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: tls_bulk_certificate_id
          in: path
          type: string
          description: The alphanumeric string identifying the bulk TLS certificate.
          required: true
    authentication:
      type: apikey
      key: Fastly-Key
      value: '{{env.FASTLY_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: tls-platform-tls-rest
    port: 8080
    description: REST adapter for Fastly TLS API — Platform TLS. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/tls/bulk/certificates
      name: tls-bulk-certificates
      description: REST surface for tls-bulk-certificates.
      operations:
      - method: GET
        name: listbulktlscertificates
        description: List platform TLS bulk certificates
        call: tls-platform-tls.listbulktlscertificates
        with:
          page[number]: rest.page[number]
          page[size]: rest.page[size]
          sort: rest.sort
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createbulktlscertificate
        description: Upload a platform TLS bulk certificate
        call: tls-platform-tls.createbulktlscertificate
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/tls/bulk/certificates/{tls-bulk-certificate-id}
      name: tls-bulk-certificates-tls-bulk-certificate-id
      description: REST surface for tls-bulk-certificates-tls_bulk_certificate_id.
      operations:
      - method: GET
        name: getbulktlscertificate
        description: Get a platform TLS bulk certificate
        call: tls-platform-tls.getbulktlscertificate
        with:
          tls_bulk_certificate_id: rest.tls_bulk_certificate_id
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: updatebulktlscertificate
        description: Update a platform TLS bulk certificate
        call: tls-platform-tls.updatebulktlscertificate
        with:
          tls_bulk_certificate_id: rest.tls_bulk_certificate_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletebulktlscertificate
        description: Delete a platform TLS bulk certificate
        call: tls-platform-tls.deletebulktlscertificate
        with:
          tls_bulk_certificate_id: rest.tls_bulk_certificate_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: tls-platform-tls-mcp
    port: 9090
    transport: http
    description: MCP adapter for Fastly TLS API — Platform TLS. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-platform-tls-bulk-certificates
      description: List platform TLS bulk certificates
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: tls-platform-tls.listbulktlscertificates
      with:
        page[number]: tools.page[number]
        page[size]: tools.page[size]
        sort: tools.sort
      outputParameters:
      - type: object
        mapping: $.
    - name: upload-platform-tls-bulk-certificate
      description: Upload a platform TLS bulk certificate
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: tls-platform-tls.createbulktlscertificate
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-platform-tls-bulk-certificate
      description: Get a platform TLS bulk certificate
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: tls-platform-tls.getbulktlscertificate
      with:
        tls_bulk_certificate_id: tools.tls_bulk_certificate_id
      outputParameters:
      - type: object
        mapping: $.
    - name: update-platform-tls-bulk-certificate
      description: Update a platform TLS bulk certificate
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: tls-platform-tls.updatebulktlscertificate
      with:
        tls_bulk_certificate_id: tools.tls_bulk_certificate_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-platform-tls-bulk-certificate
      description: Delete a platform TLS bulk certificate
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: tls-platform-tls.deletebulktlscertificate
      with:
        tls_bulk_certificate_id: tools.tls_bulk_certificate_id
      outputParameters:
      - type: object
        mapping: $.