Create a governance profile
create_governance_profileCreate a governance profile (a draft unless status=active): policies plus personal-data handling that agents can opt into and outside systems name at the Governance Gateway.
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": {
"slug": "<slug>",
"name": "<name>"
},
"name": "create_governance_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pii | No | {identifiers: {kind: mask|tokenize|block}, custom_terms: {always_redact, never_redact}, custom_terms_action}. | |
| name | Yes | Display name. | |
| slug | Yes | Lowercase letters, digits and hyphens — what callers name. | |
| status | No | draft (refuses every check) or active. | |
| policies | No | Governance policy names or ids (only ACTIVE ones run). | |
| upstream | No | The model proxy's upstream: {connection: <model connection ref>, model} or null. | |
| fail_mode | No | closed (default): a check that cannot run refuses; open: it is flagged instead. | |
| reversible | No | Tokens may be restored into a model's answer within the window. | |
| description | No | What the profile is for. | |
| overridable | No | What a caller may change per request (identifiers, reversible, return_spans) — only stricter. | |
| return_spans | No | Tell callers where each finding was (default off: kinds and counts only). | |
| validation_points | No | Which side it checks. | |
| restore_ttl_seconds | No | Restore window in seconds, 60–3600. | |
| include_org_baseline | No | Also apply the organization's Data Protection settings. |