acr_create_guardrail
Create safety guardrails that prevent runaway AI agent costs, latency overruns, and loops by setting thresholds and block, alert, or kill actions.
Instructions
Create a new safety guardrail to actively prevent runaway agent costs or loops.
Args: name: A descriptive rule name, e.g. 'Daily Max Spend' or 'Search Loop Breaker'. rule_type: Guardrail type: 'cost_limit', 'latency_limit', or 'loop_detection'. threshold: Numeric limit (e.g. 1.50 for $1.50 cost, 30.0 for 30s latency, 5 for max iterations). action: Response behavior when violated: 'block', 'alert', or 'kill'.
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": {
"name": "<name>",
"rule_type": "<rule_type>",
"threshold": "<threshold>"
},
"name": "acr_create_guardrail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| action | No | block | |
| rule_type | Yes | ||
| threshold | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |