{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "PYTHONUNBUFFERED=1 \/opt\/scripts\/pipeline\/venv\/bin\/python -c \"\nimport pymysql\nconn = pymysql.connect(\n host='localhost',\n user='claude_code',\n password='PnWPyI19Pq1HTBuN',\n database='ki_protokoll'\n)\ncursor = conn.cursor()\ncursor.execute('SHOW TABLES')\nprint('=== ki_protokoll tables ===')\nfor row in cursor.fetchall():\n print(row[0])\nconn.close()\n\"",
"description": "List all tables with claude_code user"
}
}