Make a GitOps application re-read git
gitops_refreshTriggers a GitOps controller to re-compare an application against Git without changing cluster state; optionally discards cached manifests for a fresh comparison.
Instructions
Asks the controller to compare against git again. Nothing in the cluster changes, which is why it is not a write.
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": {
"controller": "<controller>",
"application": "<application>"
},
"name": "gitops_refresh"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hard | No | discard the manifest cache too | |
| controller | Yes | controller id or name | |
| application | Yes | application name |