vcluster_kubeconfig
Export a virtual cluster's kubeconfig to a private temp file without altering your current context. Use the returned file path with other tools, then delete it.
Instructions
Export a vcluster kubeconfig without switching the caller's context.
Returns the path to a private (0600) temp file, not the contents, because it holds client credentials. Pass the path to other tools; delete it after use.
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": "vcluster_kubeconfig"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| server | No | API server address to record, when the vcluster is reached via ingress or a load balancer rather than a port forward. | |
| insecure | No | ||
| namespace | No | ||
| kubeconfig_path | No |