tools_brain_bot_hooks_path_guard
Validates hook script paths to prevent unauthorized file access in the toggle-brain knowledge base.
Instructions
!/usr/bin/env python3
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "tools_brain_bot_hooks_path_guard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Key-value arguments passed to the script via stdin |