Explain what changed
explain_changesWhat changed on one policy over the last days, lined up with what its devices did, to find the cause of a problem that started at some point ("why did the kiosks start failing on Tuesday?", "what changed before these tablets stopped installing the app?"). Returns: each policy save in the period (when, who, and what it changed, field by field) and each new Nomid Library version of the policy's apps; the devices with failed app installs per day (package, installer error code, Android version) and the devices checking in per day; and per change a verdict computed from those counts: LIKELY_CAUSE, POSSIBLE, RULED_OUT or TOO_RECENT, with its evidence. A verdict is a match in time and data, not proof: say so. Name the likely cause in plain words, with who and when; the user sees a timeline of this result under your answer, so do not list every day. To fix it, propose the undo of that one save with rollback_policy and onlyThisRevision (never apply it yourself), or another proposal the evidence supports. It changes nothing.
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": {
"policyId": "<policyId>"
},
"name": "explain_changes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | How many days back to look, today included (UTC). Default 7; make it reach the day the problem started. | |
| company | No | Optional: a `company` value from list_companies to run this in. Omit it for the connection's own company. | |
| policyId | Yes | The policy's path name - the unique identifier returned by list_policies as "pathName". |