kubectl_context
List all Kubernetes contexts, get the current context, or switch to a different context with a simple operation.
Instructions
Manage Kubernetes contexts - list, get, or set the current context
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation | Yes | Operation to perform: list contexts, get current context, or set current context | list |
| name | No | Name of the context to set as current (required for set operation) | |
| showCurrent | No | When listing contexts, highlight which one is currently active | |
| detailed | No | Include detailed information about the context | |
| output | No | Output format | json |