Gate Check
gate_checkEvaluate a proposed action against safety policy before execution. Returns block or allow to prevent risky shell commands, file edits, or irreversible operations.
Instructions
Evaluate a proposed tool call against ThumbGate policy BEFORE executing it. Returns decision "block" (do not run the action; surface the reason) or "allow". Use this when about to run a shell command, write/edit a file, or take any irreversible action.
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": {
"tool_name": "<tool_name>"
},
"name": "gate_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool_name | Yes | The tool about to be invoked (e.g. Bash, Write, Edit) | |
| tool_input | No | The proposed arguments, e.g. { "command": "rm -rf /" } for Bash or { "file_path": "..." } for Write |