auth-can-i
Check Kubernetes user permissions for specific actions on resources to verify authorization before executing commands.
Instructions
Check if the current user can perform an action
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": {
"verb": "<verb>",
"resource": "<resource>"
},
"name": "auth-can-i"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| verb | Yes | The verb to check (get, list, create, update, delete, etc.) | |
| resource | Yes | The resource type to check | |
| namespace | No | The namespace to check (optional) |