run_resource_action
Run a specific action on a resource within an ArgoCD application by specifying the application details, resource reference, and action name.
Instructions
run_resource_action runs an action on a resource
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": {
"applicationName": "<applicationName>",
"applicationNamespace": "<applicationNamespace>",
"resourceRef": "<resourceRef>",
"action": "<action>"
},
"name": "run_resource_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| applicationName | Yes | ||
| applicationNamespace | Yes | The namespace where the ArgoCD application resource will be created. This is the namespace of the Application resource itself, not the destination namespace for the application's resources. You can specify any valid Kubernetes namespace (e.g., 'argocd', 'argocd-apps', 'my-namespace', etc.). The default ArgoCD namespace is typically 'argocd', but you can use any namespace you prefer. | |
| resourceRef | Yes | ||
| action | Yes |