{
"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 `model` varchar(100) DEFAULT 'claude-sonnet-4-20250514',\\n `collections` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`collections`)),\\n `context_limit` int(11) DEFAULT 5,\\n `status` enum('draft','generating','critique','revision','validate','approve','published') DEFAULT 'draft',\\n `generation_status` enum('idle','queued','generating','completed','failed') DEFAULT 'idle',\\n `generation_started_at` datetime DEFAULT NULL,\\n `generation_error` text DEFAULT NULL,\\n `generation_log` text DEFAULT NULL,\\n `generation_step` varchar(50) DEFAULT NULL,\\n `critique_status` enum('idle','critiquing','completed','failed') DEFAULT 'idle',\\n `critique_started_at` datetime DEFAULT NULL,\\n `critique_error` text DEFAULT NULL,\\n `critique_log` text DEFAULT NULL,\\n `critique_step` varchar(50) DEFAULT NULL,\\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 `idx_status` (`status`),\\n KEY `fk_orders_profile` (`author_profile_id`),\\n KEY `fk_orders_contract` (`contract_id`),\\n KEY `fk_orders_structure` (`structure_id`),\\n CONSTRAINT `fk_orders_contract` FOREIGN KEY (`contract_id`) REFERENCES `content_config` (`id`) ON DELETE SET NULL,\\n CONSTRAINT `fk_orders_profile` FOREIGN KEY (`author_profile_id`) REFERENCES `content_config` (`id`) ON DELETE SET NULL,\\n CONSTRAINT `fk_orders_structure` FOREIGN KEY (`structure_id`) REFERENCES `content_config` (`id`) ON DELETE SET NULL\\n) ENGINE=InnoDB AUTO_INCREMENT=33 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci\",\n \"execution_ms\": 0\n}"
}
]
}