Get GitOps status
get_gitops_statusThe GitOps sync state of a cluster (the twin of ankra cluster gitops status): the connected repository and branch with the credential it authenticates with, sync status and phase, the last synced and pending commits, the last error, and two silent-breakage signals the portal's overview hides - credential_missing (the binding names a credential that no longer exists) and source_mismatch (the last sync resolved a different repository than the one configured). Use this before blaming a stack when a change committed to Git has not reached the cluster. Read-only.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_gitops_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cluster_id | No | UUID of the target cluster. Optional when a cluster is selected. | |
| cluster_name | No | Exact name of the target cluster. Optional when a cluster is selected. |