{
"event": "PreToolUse",
"tool_name": "mcp__mcp-db__db_describe",
"tool_input": {
"table": "content_config",
"database": "ki_content",
"show_create": true
}
}
{
"tool_response": [
{
"type": "text",
"text": "{\n \"status\": \"success\",\n \"table\": \"content_config\",\n \"create_statement\": \"CREATE TABLE `content_config` (\\n `id` int(11) NOT NULL AUTO_INCREMENT,\\n `type` enum('author_profile','structure','organization','contract','rule','system_prompt','critic') NOT NULL,\\n `name` varchar(100) NOT NULL,\\n `slug` varchar(100) NOT NULL,\\n `description` text DEFAULT NULL,\\n `content` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`content`)),\\n `version` varchar(20) DEFAULT '1.0',\\n `status` enum('draft','active','deprecated') DEFAULT 'draft',\\n `parent_id` int(11) DEFAULT NULL,\\n `prompt_id` int(11) DEFAULT NULL,\\n `sort_order` int(11) NOT NULL DEFAULT 0,\\n `created_at` datetime DEFAULT current_timestamp(),\\n `updated_at` datetime DEFAULT current_timestamp() ON UPDATE current_timestamp(),\\n PRIMARY KEY (`id`),\\n UNIQUE KEY `idx_type_slug_version` (`type`,`slug`,`version`),\\n KEY `idx_type_status` (`type`,`status`),\\n KEY `idx_parent` (`parent_id`),\\n KEY `fk_config_prompt` (`prompt_id`),\\n CONSTRAINT `fk_config_prompt` FOREIGN KEY (`prompt_id`) REFERENCES `prompts` (`id`) ON DELETE SET NULL,\\n CONSTRAINT `fk_parent` FOREIGN KEY (`parent_id`) REFERENCES `content_config` (`id`) ON DELETE SET NULL\\n) ENGINE=InnoDB AUTO_INCREMENT=34 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci\",\n \"execution_ms\": 0\n}"
}
]
}