k8s_connect
Establish a Kubernetes cluster connection by loading a kubeconfig context, or fall back to in-cluster config when no kubeconfig is available.
Instructions
Load a kubeconfig context, or in-cluster config when no kubeconfig is available.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "k8s_connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | ||
| namespace | No | default | |
| kubeconfig | No | ||
| session_name | No | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |