get_live_diff
Reports drift between an ArgoCD app's Git and live Kubernetes specs, ignoring metadata noise. Use it to detect out-of-band kubectl edits or verify pod specs match Git.
Instructions
Compare an ArgoCD application's desired (git) state against what is actually running in the cluster, resource by resource. Reports drift as added/removed/changed spec fields, ignoring routine status/metadata noise (resourceVersion, managedFields, status subresource, etc). This is the tool for "did someone kubectl edit/patch something out-of-band" or "is the live pod spec what git says it should be".
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": {
"app": "<app>"
},
"name": "get_live_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |