{
"event": "PreToolUse",
"tool_name": "mcp__mcp-db__db_describe",
"tool_input": {
"table": "content_orders",
"database": "ki_content",
"show_create": true
}
}
{
"tool_response": [
{
"type": "text",
"text": "{\n \"status\": \"success\",\n \"table\": \"content_orders\",\n \"create_statement\": \"CREATE TABLE `content_orders` (\\n `id` int(11) NOT NULL AUTO_INCREMENT,\\n `title` varchar(255) NOT NULL,\\n `briefing` text DEFAULT NULL,\\n `author_profile_id` int(11) DEFAULT NULL,\\n `contract_id` int(11) DEFAULT NULL,\\n `structure_id` int(11) DEFAULT NULL,\\n `status` enum('draft','generating','critique','revision','validate','approve','published') DEFAULT 'draft',\\n `current_critique_round` int(11) DEFAULT 0,\\n `created_by` int(11) DEFAULT NULL,\\n `created_at` datetime DEFAULT current_timestamp(),\\n `updated_at` datetime DEFAULT NULL ON UPDATE current_timestamp(),\\n PRIMARY KEY (`id`),\\n KEY `author_profile_id` (`author_profile_id`),\\n KEY `contract_id` (`contract_id`),\\n KEY `structure_id` (`structure_id`),\\n KEY `idx_status` (`status`),\\n CONSTRAINT `content_orders_ibfk_1` FOREIGN KEY (`author_profile_id`) REFERENCES `author_profiles` (`id`) ON DELETE SET NULL,\\n CONSTRAINT `content_orders_ibfk_2` FOREIGN KEY (`contract_id`) REFERENCES `content_contracts` (`id`) ON DELETE SET NULL,\\n CONSTRAINT `content_orders_ibfk_3` FOREIGN KEY (`structure_id`) REFERENCES `content_structures` (`id`) ON DELETE SET NULL\\n) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci\",\n \"execution_ms\": 0\n}"
}
]
}