Argocd Rollback Application
argocd_rollback_applicationRoll back an Argo CD application to a prior deployment history entry. Destructive; re-applies an old revision, auto-sync blocks it, and Git must be fixed afterward.
Instructions
Roll back to a prior deployment history entry. destructive.
Argo CD refuses a rollback while auto-sync is on, so this pre-reads the app and returns an actionable error first. A rollback re-applies an old revision, so fix Git afterward.
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": {
"name": "<name>",
"history_id": "<history_id>"
},
"name": "argocd_rollback_application"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Application name; accepts namespace/name for apps-in-any-namespace | |
| wait | No | Wait for the operation to finish | |
| prune | No | Prune resources during rollback | |
| dry_run | No | Preview only | |
| project | No | Project; with it a missing app is 404 and a wrong-project app is 403 | |
| history_id | Yes | status.history id to roll back to | |
| app_namespace | No | Override appNamespace; defaults to ARGOCD_APP_NAMESPACE | |
| timeout_seconds | No | Wait timeout in seconds |