update_guardrail
Update an existing guardrail's name, checks, or actions to create a new version that takes effect immediately. Start by reviewing current guardrails with list_guardrails.
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 |
|---|---|---|---|
| guardrail_id | Yes | The guardrail UUID or slug to update | |
| name | No | New name for the guardrail | |
| checks | No | Updated array of checks to apply | |
| actions | No | Updated actions configuration |
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 |