guardrail_check
Evaluate a proposed tool call against Guardrail policy before executing it, returning ALLOW, WARN, or BLOCK with explanation. Use before actions that spend money, delete data, send messages externally, or run code.
Instructions
Evaluate a proposed tool call against the Guardrail policy BEFORE executing it. Returns ALLOW, WARN, or BLOCK with a concrete explanation. Always call this before performing any action that spends money, deletes data, sends messages externally, or runs code.
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": {
"agent_id": "<agent_id>",
"tool_name": "<tool_name>"
},
"name": "guardrail_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | Identifier of the calling agent | |
| arguments | No | Arguments the tool would be called with | |
| tool_name | Yes | Name of the tool/action being proposed |