get_k8s_cluster_info
Gets cluster endpoint information. This is similar to running kubectl cluster-info.
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": {
"parent": "<parent>"
},
"name": "get_k8s_cluster_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parent | Yes | Required. The parent cluster. Format: projects/{project}/locations/{location}/clusters/{cluster} |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | No | Errors encountered during cluster info retrieval. | |
| clusterInfo | No | The cluster info of the resource. Displays address and port information about the Kubernetes control plane and other services running within the cluster such as CoreDNS and Metrics-server. Example: "The Kubernetes control plane is at 10.128.0.10:6443. CoreDNS is running at https://192.0.2.1:6443/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy Metrics-server is running at 127.0.0.1:8080" |