update_guardrail
Modify a guardrail's name, checks, or actions. A new version is created and takes effect immediately for dependent configs.
Instructions
Update a guardrail's name, checks, or actions, unlike create_guardrail which registers a new one or delete_guardrail which removes it. This creates a new version that takes effect immediately for dependent configs, so review list_guardrails first; returns the updated id, slug, and version_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name for the guardrail | |
| checks | No | Updated array of checks to apply | |
| actions | No | Updated actions configuration | |
| guardrail_id | Yes | The guardrail UUID or slug to update |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the tool call succeeded and returned structured data | |
| data | No | Structured success payload when ok is true | |
| error | No | Structured error payload when ok is false |