sophos_create_policy
Create new endpoint security policies across Sophos tenants by specifying policy type, name, priority, and settings in JSON.
Instructions
Create a new endpoint policy. Specify the policy type, name, and optionally priority, enabled state, and settings as a JSON string.
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": {
"tenant_id": "<tenant_id>",
"name": "<name>",
"type": "<type>"
},
"name": "sophos_create_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name for the new policy | |
| type | Yes | Policy type | |
| enabled | No | Whether the policy is enabled (default true) | |
| priority | No | Policy priority (lower number = higher priority) | |
| settings | No | Policy settings as a JSON string. Structure depends on policy type. Use sophos_get_policy on an existing policy to see the expected format. | |
| tenant_id | Yes | Target tenant ID |