Get a saved policy revision
get_policy_revision_documentRead a policy's saved historical configuration by revision ID from list_policy_revisions, with secrets replaced by {"redacted": true}. Returns the revision's policy version, providerVersion when recorded, save time and recorded audit actor. These describe saved configuration, never proof that a device applied it or that a person manually made the change. Read-only: creates no proposal and restores nothing. Use get_policy_document for the current configuration. A large result comes in parts: notShown lists paths to read separately, and nextFromIndex continues the same path. path is a JSON Pointer with numeric array indexes; omit it for all fields including apps. The current policy group is excluded because it is not historical configuration.
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": "get_policy_revision_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Optional JSON Pointer into the historical configuration, as in notShown. Default: the whole document (empty path). Arrays use numeric indexes, e.g. /apps/0/managedConfigurations. | |
| 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 saved revision ID from list_policy_revisions, for this policy. | |
| fromIndex | No | When a result carries nextFromIndex, pass it here for the rest. Default 0. |