{
"event": "PreToolUse",
"tool_name": "mcp__mcp-db__db_describe",
"tool_input": {
"table": "contract_history",
"database": "ki_dev",
"show_create": true
}
}
{
"tool_response": [
{
"type": "text",
"text": "{\n \"status\": \"success\",\n \"table\": \"contract_history\",\n \"create_statement\": \"CREATE TABLE `contract_history` (\\n `id` int(11) NOT NULL AUTO_INCREMENT,\\n `contract_id` int(11) NOT NULL,\\n `previous_yaml` text DEFAULT NULL,\\n `previous_version` varchar(20) DEFAULT NULL,\\n `change_description` text DEFAULT NULL,\\n `changed_at` datetime DEFAULT current_timestamp(),\\n `changed_by` varchar(100) DEFAULT 'system',\\n PRIMARY KEY (`id`),\\n KEY `idx_contract_id` (`contract_id`),\\n CONSTRAINT `contract_history_ibfk_1` FOREIGN KEY (`contract_id`) REFERENCES `contracts` (`id`) ON DELETE CASCADE\\n) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci\",\n \"execution_ms\": 0\n}"
}
]
}