{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "cat ~\/.claude\/settings.json 2>\/dev\/null | grep -A 20 \"hooks\" | head -30",
"description": "Check current hook configuration"
}
}
{
"tool_response": {
"stdout": " \"hooks\": {\n \"UserPromptSubmit\": [\n {\n \"hooks\": [\n {\n \"type\": \"command\",\n \"command\": \"\/var\/www\/tools\/ki-protokoll\/claude-hook\/log_to_db.py\",\n \"timeout\": 5\n }\n ]\n }\n ],\n \"PreToolUse\": [\n {\n \"matcher\": \"Bash\",\n \"hooks\": [\n {\n \"type\": \"command\",\n \"command\": \"\/var\/www\/scripts\/hooks\/block_direct_db.py\"\n },\n {\n \"type\": \"command\",\n \"command\": \"\/var\/www\/scripts\/hooks\/block_direct_task_db.py\"\n }\n ]\n },\n {\n \"matcher\": \"mcp__mcp-tasks__tasks_status\",\n \"hooks\": [\n {",
"stderr": "",
"interrupted": false,
"isImage": false
}
}