Create policy from template
create_policy_from_templateCreate a DRAFT policy from a template. The template only sets the starting point: validation_points and configuration_overrides change this policy, never the template.
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": {
"template_id": "<template_id>"
},
"name": "create_policy_from_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Policy name (defaults to the template's). | |
| description | No | Policy description. | |
| template_id | Yes | Id from list_policy_templates. | |
| validation_points | No | Which side the policy checks: input = messages users send, output = replies the agent writes, both (default when unset). Only for data_privacy, content_filter, output_validation, custom. | |
| configuration_overrides | No | Configuration keys to change for this policy. |