test_cluster_connection
Verify Kubernetes cluster connectivity by reloading kubeconfig from disk to use the latest credentials. Get connection test results for a specified cluster.
Instructions
测试集群连接(会从磁盘重新加载 kubeconfig,确保使用最新凭据)
Args: name: 集群名称
Returns: 连接测试结果
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": {
"name": "<name>"
},
"name": "test_cluster_connection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes |