Service Fabric · Capability

Service Fabric Cluster Management API — Cluster

Service Fabric Cluster Management API — Cluster. 1 operations. Lead operation: Get Cluster Health. Self-contained Naftiko capability covering one Service Fabric business surface.

Run with Naftiko Service FabricCluster

What You Can Do

GET
Getclusterhealth — Get Cluster Health
/v1//getclusterhealth

MCP Tools

get-cluster-health

Get Cluster Health

read-only idempotent

Capability Spec

cluster-cluster.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Service Fabric Cluster Management API — Cluster
  description: 'Service Fabric Cluster Management API — Cluster. 1 operations. Lead operation: Get Cluster Health. Self-contained
    Naftiko capability covering one Service Fabric business surface.'
  tags:
  - Service Fabric
  - Cluster
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SERVICE_FABRIC_API_KEY: SERVICE_FABRIC_API_KEY
capability:
  consumes:
  - type: http
    namespace: cluster-cluster
    baseUri: http://{cluster_endpoint}:19080
    description: Service Fabric Cluster Management API — Cluster business capability. Self-contained, no shared references.
    resources:
    - name: $-GetClusterHealth
      path: /$/GetClusterHealth
      operations:
      - name: getclusterhealth
        method: GET
        description: Get Cluster Health
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: api-version
          in: query
          type: string
          description: Service Fabric API version
          required: true
        - name: NodesHealthStateFilter
          in: query
          type: integer
          description: Health state filter for nodes (0=Default, 1=Ok, 2=Warning, 4=Error, 65535=All)
        - name: ApplicationsHealthStateFilter
          in: query
          type: integer
          description: Health state filter for applications
  exposes:
  - type: rest
    namespace: cluster-cluster-rest
    port: 8080
    description: REST adapter for Service Fabric Cluster Management API — Cluster. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1//getclusterhealth
      name: getclusterhealth
      description: REST surface for $-GetClusterHealth.
      operations:
      - method: GET
        name: getclusterhealth
        description: Get Cluster Health
        call: cluster-cluster.getclusterhealth
        with:
          api-version: rest.api-version
          NodesHealthStateFilter: rest.NodesHealthStateFilter
          ApplicationsHealthStateFilter: rest.ApplicationsHealthStateFilter
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: cluster-cluster-mcp
    port: 9090
    transport: http
    description: MCP adapter for Service Fabric Cluster Management API — Cluster. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: get-cluster-health
      description: Get Cluster Health
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cluster-cluster.getclusterhealth
      with:
        api-version: tools.api-version
        NodesHealthStateFilter: tools.NodesHealthStateFilter
        ApplicationsHealthStateFilter: tools.ApplicationsHealthStateFilter
      outputParameters:
      - type: object
        mapping: $.