clusterrole_list
List all ClusterRoles in a Kubernetes cluster by providing the context name. Returns basic information for each ClusterRole.
Instructions
List all ClusterRoles in the cluster.
Args: context_name: The Kubernetes context name
Returns: List of ClusterRole basic information
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": {
"context_name": "<context_name>"
},
"name": "clusterrole_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context_name | Yes |