List MagicSword policies
list_policiesRetrieve policies for your MagicSword org, showing current published version, status, and policy mode; filter by Windows, macOS, or Linux to focus on one platform.
Instructions
Lists policies in the MagicSword org, including each policy's current published version (name, version, status, policy mode). Filter by platform if you only care about windows / macos / linux. The current_version block tells you status (audit/enforcing/disabled) separately from policy_mode (blocklist/strict).
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 |
|---|---|---|---|
| platform | No | Restrict to one platform |