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.
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. |