{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "source \/etc\/mcp-db\/.env && mysql -u \"$MARIADB_USER\" -p\"$MARIADB_ROOT_PASSWORD\" ki_content -e \"\nSET FOREIGN_KEY_CHECKS = 0;\nTRUNCATE TABLE chunk_entities;\nTRUNCATE TABLE chunk_semantics;\nTRUNCATE TABLE chunk_taxonomy;\nTRUNCATE TABLE document_taxonomy;\nTRUNCATE TABLE document_pages;\nTRUNCATE TABLE document_sections;\nTRUNCATE TABLE document_knowledge;\nTRUNCATE TABLE section_knowledge;\nTRUNCATE TABLE page_knowledge;\nTRUNCATE TABLE generated_questions;\nTRUNCATE TABLE chunks;\nTRUNCATE TABLE documents;\nTRUNCATE TABLE pipeline_queue;\nTRUNCATE TABLE pipeline_runs;\nSET FOREIGN_KEY_CHECKS = 1;\nSELECT 'MariaDB reset complete' as status;\n\"",
"description": "Reset all pipeline tables in MariaDB"
}
}