{
"event": "PreToolUse",
"tool_name": "mcp__mcp-db__db_describe",
"tool_input": {
"table": "entity_ontology",
"database": "ki_content",
"show_create": true
}
}
{
"tool_response": [
{
"type": "text",
"text": "{\n \"status\": \"success\",\n \"table\": \"entity_ontology\",\n \"create_statement\": \"CREATE TABLE `entity_ontology` (\\n `id` int(11) NOT NULL AUTO_INCREMENT,\\n `source_entity_id` int(11) NOT NULL,\\n `target_entity_id` int(11) NOT NULL,\\n `relation_type` varchar(100) NOT NULL COMMENT 'CAUSES, REQUIRES, INFLUENCES, PART_OF, etc.',\\n `direction` enum('unidirectional','bidirectional') DEFAULT 'unidirectional',\\n `strength` float DEFAULT 1 COMMENT 'Stärke der Wechselwirkung',\\n `description` text DEFAULT NULL COMMENT 'Beschreibung der Wechselwirkung',\\n `source_type` enum('page','section','document') DEFAULT 'page',\\n `source_id` int(11) DEFAULT NULL,\\n `model_used` varchar(100) DEFAULT NULL,\\n `validated` tinyint(1) DEFAULT 0,\\n `created_at` datetime DEFAULT current_timestamp(),\\n PRIMARY KEY (`id`),\\n KEY `idx_source_entity` (`source_entity_id`),\\n KEY `idx_target_entity` (`target_entity_id`),\\n KEY `idx_relation` (`relation_type`),\\n CONSTRAINT `entity_ontology_ibfk_2` FOREIGN KEY (`target_entity_id`) REFERENCES `entities` (`id`) ON DELETE CASCADE\\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Ontologie: Wechselwirkungen zwischen Entitäten'\",\n \"execution_ms\": 1\n}"
}
]
}