Propose a policy rollback
rollback_policyPropose rolling a policy back to one of its revisions (list_policy_revisions): its whole configuration - apps, settings, restrictions, networks - is restored, and its name goes back to the revision's when they differ (the change list shows it); description, tags and group stay. Nothing changes yet: this returns a proposal with the differences. Show it to the user and get their explicit approval. A rollback of a policy that has devices is HIGH impact. With onlyThisRevision: undo only what that revision changed (explain_changes names it), keeping later saves; prefer it when one change caused a problem. To undo the latest save, restore the revision before it instead (no onlyThisRevision). Once the user approves, apply it with apply_policy_proposal (a person approves a HIGH impact one in the Nomid portal instead: give the user its approvalUrl).
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>",
"revision": "<revision>"
},
"name": "rollback_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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". | |
| revision | Yes | The revision to restore, from list_policy_revisions; with onlyThisRevision, the revision whose changes to undo. | |
| onlyThisRevision | No | true: undo only what this revision changed and keep everything saved after it (a field changed again since stays and is listed). Default false: restore the whole policy to this revision. |