{
"event": "PreToolUse",
"tool_name": "mcp__mcp-db__db_execute",
"tool_input": {
"statement": "CREATE TABLE chunk_text_semantics (\n id INT AUTO_INCREMENT PRIMARY KEY,\n chunk_id INT NOT NULL,\n \n -- Aussageform: WIE wird etwas gesagt?\n statement_form ENUM('assertion', 'question', 'command', 'conditional') NOT NULL,\n intent ENUM('explain', 'argue', 'define', 'compare', 'exemplify', 'warn', 'instruct') DEFAULT NULL,\n frame ENUM('theoretical', 'practical', 'historical', 'methodological', 'critical') DEFAULT NULL,\n is_negated BOOLEAN DEFAULT FALSE,\n discourse_role ENUM('thesis', 'evidence', 'example', 'counter', 'summary', 'definition') DEFAULT NULL,\n \n -- Qualität\n confidence DECIMAL(3,2) DEFAULT NULL,\n model_used VARCHAR(100) DEFAULT NULL,\n \n -- Timestamps\n created_at DATETIME DEFAULT CURRENT_TIMESTAMP,\n updated_at DATETIME DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n \n FOREIGN KEY (chunk_id) REFERENCES chunks(id) ON DELETE CASCADE,\n INDEX idx_chunk (chunk_id),\n INDEX idx_intent (intent),\n INDEX idx_discourse (discourse_role)\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\": 3\n}"
}
]
}