Create governance policy
create_governance_policyCreate a DRAFT governance policy in the org (activate separately with activate_governance_policy). configuration is policy-type-specific; its masked_fields/pii_entities are validated against the PII registry.
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": {
"name": "<name>",
"policy_type": "<policy_type>"
},
"name": "create_governance_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Human-readable policy name. | |
| severity | No | Policy severity. | |
| description | No | What the policy enforces. | |
| policy_type | Yes | The kind of policy. | |
| configuration | No | Policy-type-specific settings. data_privacy: masked_fields, masking_strategy and field_masking_strategies (redact | partial | hash | mask), custom_terms {always_redact: [{label, match: phrase|pattern, value}], never_redact: [{value}]}. content_filter: blocked_categories, custom_blocklist and competitors (whole words, Arabic spelling variants equal). access_control: allowed_roles (role NAMES of this org; signed-in members only) and require_mfa (the account's sign-in two-step verification). rate_limiting: requests_per_minute, requests_per_hour. output_validation: max_tokens, regex_pattern (the WHOLE reply must match), json_schema_validation. threat_detection: categories (prompt_injection | data_exfiltration | agent_manipulation), classifier (basic = in-region zero-shot model, model = inline LLM), sensitivity (low | medium | high) and scan_tool_results (also check tool results, default true). | |
| 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, threat_detection, custom. |