{
"event": "PreToolUse",
"tool_name": "mcp__mcp-db__db_execute",
"tool_input": {
"statement": "CREATE TABLE IF NOT EXISTS stopwords (\n id INT AUTO_INCREMENT PRIMARY KEY,\n word VARCHAR(100) NOT NULL,\n canonical_form VARCHAR(100) NOT NULL,\n category ENUM('generic', 'domain_specific', 'context_dependent') DEFAULT 'generic',\n reason VARCHAR(255) DEFAULT NULL,\n is_active TINYINT(1) DEFAULT 1,\n created_at DATETIME DEFAULT CURRENT_TIMESTAMP,\n updated_at DATETIME DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n UNIQUE KEY uk_canonical (canonical_form),\n KEY idx_active (is_active),\n KEY idx_category (category)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
"database": "ki_content"
}
}
{
"tool_response": [
{
"type": "text",
"text": "{\n \"status\": \"success\",\n \"affected_rows\": 0,\n \"error\": null,\n \"execution_ms\": 2\n}"
}
]
}