List policies
list_policiesList every policy defined in the authenticated company, or with query those matching it, with overview information (path name, display name, description, version, policy group, deviceCount). deviceCount is the number of devices on the policy (0 when none), not counting deleted or reprovisioned ones. Configuration detail of each policy is excluded: read one policy's with get_policy_document or get_policy_settings.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_policies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Optional. Only the policies whose path name, name or policy group contains this text (case-insensitive). Use it to find a policy a long list left out. | |
| company | No | Optional: a `company` value from list_companies to run this in. Omit it for the connection's own company. |