List cluster roles
k8s_list_cluster_rolesLists Kubernetes ClusterRoles so you can inspect available cluster-wide role definitions and permissions before binding them to users or workloads.
Instructions
List ClusterRoles.
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_list_cluster_roles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Named context of the multi-context pool to run against (see cm_multi_context list_contexts); the default context if omitted. |