list_hosted_clusters
List HyperShift HostedClusters on the hosting cluster, optionally filtered by namespace, with clear reporting if control planes reside elsewhere.
Instructions
List HyperShift HostedClusters, when the hub is the HCP hosting cluster.
Args: namespace: limit to one namespace; empty lists across all namespaces.
HostedCluster objects live on whichever cluster hosts the control plane. If your HCPs are hosted on a separate management cluster, they are not on this hub - this reports that clearly, and the spokes still appear via list_clusters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |