get_guardrail
Retrieve a guardrail by ID or slug to inspect its full checks, actions, status, and ownership before updating or deleting its enforcement policy.
Instructions
Fetch one guardrail by id or slug with its full checks and actions; use list_guardrails to discover ids first. Use before update_guardrail or delete_guardrail when you need the exact enforcement policy, and returns the full check and action configuration alongside status and ownership.
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": "get_guardrail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guardrail_id | Yes | The guardrail UUID or slug (with guard_ prefix) to retrieve |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Call succeeded | |
| data | No | Success payload | |
| error | No | Failure details |