Service Fabric · Capability

Service Fabric Cluster Management API — Health

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

Run with Naftiko Service FabricHealth

What You Can Do

GET
Getclusterhealth — Get Cluster Health
/v1//getclusterhealth
GET
Getapplicationhealth — Get Application Health
/v1/applications/{applicationid}//gethealth

MCP Tools

get-cluster-health

Get Cluster Health

read-only idempotent
get-application-health

Get Application Health

read-only idempotent

Capability Spec

cluster-health.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Service Fabric Cluster Management API — Health
  description: 'Service Fabric Cluster Management API — Health. 2 operations. Lead operation: Get Cluster Health. Self-contained
    Naftiko capability covering one Service Fabric business surface.'
  tags:
  - Service Fabric
  - Health
  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-health
    baseUri: http://{cluster_endpoint}:19080
    description: Service Fabric Cluster Management API — Health 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
    - name: Applications-applicationId-$-GetHealth
      path: /Applications/{applicationId}/$/GetHealth
      operations:
      - name: getapplicationhealth
        method: GET
        description: Get Application Health
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ServicesHealthStateFilter
          in: query
          type: integer
  exposes:
  - type: rest
    namespace: cluster-health-rest
    port: 8080
    description: REST adapter for Service Fabric Cluster Management API — Health. 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-health.getclusterhealth
        with:
          api-version: rest.api-version
          NodesHealthStateFilter: rest.NodesHealthStateFilter
          ApplicationsHealthStateFilter: rest.ApplicationsHealthStateFilter
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/applications/{applicationid}//gethealth
      name: applications-applicationid-gethealth
      description: REST surface for Applications-applicationId-$-GetHealth.
      operations:
      - method: GET
        name: getapplicationhealth
        description: Get Application Health
        call: cluster-health.getapplicationhealth
        with:
          ServicesHealthStateFilter: rest.ServicesHealthStateFilter
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: cluster-health-mcp
    port: 9090
    transport: http
    description: MCP adapter for Service Fabric Cluster Management API — Health. 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-health.getclusterhealth
      with:
        api-version: tools.api-version
        NodesHealthStateFilter: tools.NodesHealthStateFilter
        ApplicationsHealthStateFilter: tools.ApplicationsHealthStateFilter
      outputParameters:
      - type: object
        mapping: $.
    - name: get-application-health
      description: Get Application Health
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cluster-health.getapplicationhealth
      with:
        ServicesHealthStateFilter: tools.ServicesHealthStateFilter
      outputParameters:
      - type: object
        mapping: $.