Get policy document
get_policy_documentGet a policy's full configuration as JSON, or the part at a path: Wi-Fi networks (openNetworkConfigurations), passwords, restrictions, system updates, the launcher, time and geo fences, app configurations and everything else. Secrets read as {"redacted": true}. Use it before propose_policy_change with edits, for anything get_policy_settings doesn't list. Without a path, apps are summarized: read /apps/ for one app's configuration. lockedFields lists what agents can't change. version (the portal's number) and changedAt say when the policy was last saved.
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": "get_policy_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Optional JSON Pointer to read one part, e.g. /openNetworkConfigurations or /apps/com.example.app/managedConfigurations (an app by package name). Leave out for the whole policy, apps summarized. | |
| search | No | Optional, when reading /phoneContacts, /libraryFiles or /vr: list only the attachable items whose name or id contains this text. | |
| 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". |