Get Logical Applications
get_applicationsGroups Kubernetes workloads and services into logical applications with aggregated replica health, using standard labels or name prefixes; scope by namespace or scan the cluster.
Instructions
Group Deployments, StatefulSets, DaemonSets, Services, and Pods into logical applications with aggregated replica health.
Correlates resources using standard application labels (such as app.kubernetes.io/name, app) or the resource name's leading hyphen prefix, returning cluster_id, namespace, count, healthy_count, and grouped items. Omit namespace (null) to scan across namespaces, or pass a namespace to scope.
Use for an application-centric view of services and their backing workloads. Prefer get_workloads_overview for raw counts by Kubernetes kind, get_workloads_catalog for ungrouped workload lists, or get_namespace_map for explicit pod-to-config/secret/PVC dependency edges.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"cluster_id": "<cluster_id>"
},
"name": "get_applications"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | No | Optional Kubernetes namespace name (1-63 chars) to scope results to a single namespace. Omit or pass null to query across all namespaces in the cluster. | |
| cluster_id | Yes | Unique KubeOrbit cluster identifier returned by `list_teams_and_clusters` (1-63 URL-safe chars, e.g. 'gke-prod-us', 'eks-staging'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Total number of logical applications discovered. | |
| items | No | Logical application groups correlated by app labels or name prefix, each with name, namespace, healthy, total_replicas, ready_replicas, deployments, statefulsets, daemonsets, services, and pods. | |
| namespace | No | Filtered namespace name, or null when grouped across namespaces. | |
| cluster_id | No | Cluster identifier queried. | |
| healthy_count | No | Number of logical applications currently healthy. |