create_kubeconfig
Generate a kubeconfig to connect to a Kubernetes cluster managed by Rancher, using the cluster's identifier.
Instructions
Generate a kubeconfig document for the given cluster.
Args: cluster_id: Rancher-assigned cluster identifier.
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": {
"cluster_id": "<cluster_id>"
},
"name": "create_kubeconfig"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cluster_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |