Cribl · Capability

Cribl Edge API — Edge Nodes

Cribl Edge API — Edge Nodes. 3 operations. Lead operation: List all edge nodes. Self-contained Naftiko capability covering one Cribl business surface.

Run with Naftiko CriblEdge Nodes

What You Can Do

GET
Listedgenodes — List all edge nodes
/v1/master/workers
GET
Getedgenode — Get an edge node by ID
/v1/master/workers/{id}
POST
Restartedgenode — Restart an edge node
/v1/master/workers/{id}/restart

MCP Tools

list-all-edge-nodes

List all edge nodes

read-only idempotent
get-edge-node-id

Get an edge node by ID

read-only idempotent
restart-edge-node

Restart an edge node

Capability Spec

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