Argocd Can I
argocd_can_iCheck whether the current Argo CD account can perform an RBAC action on a resource or subresource and return if it is allowed.
Instructions
Check whether the current account may perform resource/action on a subresource.
Returns {allowed: bool, ...}; the API answers the string yes/no.
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": {
"resource": "<resource>",
"action": "<action>"
},
"name": "argocd_can_i"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | RBAC action | |
| resource | Yes | RBAC resource | |
| subresource | No | Sub-resource, e.g. */* or proj/app | */* |