keel_create_policy
Create compliance policies from Markdown and get the new policy id, key, and title. Reuse a key to update an existing policy.
Instructions
Create a policy from Markdown. Returns the new policy id, key and title. The key is derived from the title when not supplied; a policy is identified by its key, so reusing a key targets the existing policy.
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": {
"title": "<title>"
},
"name": "keel_create_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Stable slug, max 60 chars. Derived from the title when omitted. | |
| title | Yes | Policy title (required). | |
| fields | No | Template variables to substitute. Up to 100 keys, values up to 5000 chars. | |
| markdown | No | Policy body as Markdown, up to 200 KB. | |
| description | No | Used as the body when markdown is omitted. |