Cribl · Capability

Cribl Cloud API — Functions

Cribl Cloud API — Functions. 2 operations. Lead operation: List available functions. Self-contained Naftiko capability covering one Cribl business surface.

Run with Naftiko CriblFunctions

What You Can Do

GET
Listfunctions — List available functions
/v1/system/functions
GET
Getfunction — Get a function by ID
/v1/system/functions/{id}

MCP Tools

list-available-functions

List available functions

read-only idempotent
get-function-id

Get a function by ID

read-only idempotent

Capability Spec

cloud-functions.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Cribl Cloud API — Functions
  description: 'Cribl Cloud API — Functions. 2 operations. Lead operation: List available functions. Self-contained Naftiko
    capability covering one Cribl business surface.'
  tags:
  - Cribl
  - Functions
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    CRIBL_API_KEY: CRIBL_API_KEY
capability:
  consumes:
  - type: http
    namespace: cloud-functions
    baseUri: https://{workspaceName}-{organizationId}.cribl.cloud/api/v1
    description: Cribl Cloud API — Functions business capability. Self-contained, no shared references.
    resources:
    - name: system-functions
      path: /system/functions
      operations:
      - name: listfunctions
        method: GET
        description: List available functions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: system-functions-id
      path: /system/functions/{id}
      operations:
      - name: getfunction
        method: GET
        description: Get a function by ID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.CRIBL_API_KEY}}'
  exposes:
  - type: rest
    namespace: cloud-functions-rest
    port: 8080
    description: REST adapter for Cribl Cloud API — Functions. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/system/functions
      name: system-functions
      description: REST surface for system-functions.
      operations:
      - method: GET
        name: listfunctions
        description: List available functions
        call: cloud-functions.listfunctions
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/system/functions/{id}
      name: system-functions-id
      description: REST surface for system-functions-id.
      operations:
      - method: GET
        name: getfunction
        description: Get a function by ID
        call: cloud-functions.getfunction
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: cloud-functions-mcp
    port: 9090
    transport: http
    description: MCP adapter for Cribl Cloud API — Functions. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-available-functions
      description: List available functions
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloud-functions.listfunctions
      outputParameters:
      - type: object
        mapping: $.
    - name: get-function-id
      description: Get a function by ID
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloud-functions.getfunction
      outputParameters:
      - type: object
        mapping: $.