update_guardrail
Modify an existing guardrail's name, checks, or actions and immediately publish a new version for dependent configurations; review existing guardrails first.
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.
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": {
"guardrail_id": "<guardrail_id>"
},
"name": "update_guardrail"
}
}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 | Call succeeded | |
| data | No | Success payload | |
| error | No | Failure details |