{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "echo \"=== Error-Check in Page Content ===\"\nfor endpoint in \/chat \/content \/semantic-explorer \/docs\/code \/tasks \/contracts; do\n errors=$(curl -sL \"https:\/\/dev.campus.systemische-tools.de$endpoint\" 2>\/dev\/null | grep -iE \"(Fatal|Exception|Error:|Warning:|Notice:)\" | head -1)\n if [ -n \"$errors\" ]; then\n printf \"%-25s: ⚠ %s\\n\" \"$endpoint\" \"$errors\"\n else\n printf \"%-25s: ✓ OK\\n\" \"$endpoint\"\n fi\ndone",
"timeout": 60000,
"description": "Check for PHP errors in content"
}
}