{
"event": "PreToolUse",
"tool_name": "mcp__mcp-db__db_describe",
"tool_input": {
"table": "tasks",
"database": "ki_dev",
"show_create": true
}
}
{
"tool_response": [
{
"type": "text",
"text": "{\n \"status\": \"success\",\n \"table\": \"tasks\",\n \"create_statement\": \"CREATE TABLE `tasks` (\\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\\n `uuid` varchar(36) NOT NULL,\\n `title` varchar(255) NOT NULL,\\n `description` text DEFAULT NULL,\\n `type` enum('human_task','ai_task','mixed') NOT NULL DEFAULT 'human_task',\\n `status` enum('pending','in_progress','completed','failed','cancelled') NOT NULL DEFAULT 'pending',\\n `created_by` varchar(100) NOT NULL,\\n `created_by_type` enum('human','ai') NOT NULL DEFAULT 'human',\\n `parent_task_id` bigint(20) unsigned DEFAULT NULL,\\n `due_date` datetime DEFAULT NULL,\\n `created_at` datetime(6) NOT NULL DEFAULT current_timestamp(6),\\n `updated_at` datetime(6) NOT NULL DEFAULT current_timestamp(6) ON UPDATE current_timestamp(6),\\n `completed_at` datetime(6) DEFAULT NULL,\\n `metadata` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`metadata`)),\\n PRIMARY KEY (`id`),\\n UNIQUE KEY `uk_uuid` (`uuid`),\\n KEY `idx_status` (`status`),\\n KEY `idx_created_by` (`created_by`),\\n KEY `idx_type` (`type`),\\n KEY `idx_parent_task` (`parent_task_id`),\\n KEY `idx_created_at` (`created_at`),\\n KEY `idx_status_created` (`status`,`created_at`),\\n CONSTRAINT `fk_parent_task` FOREIGN KEY (`parent_task_id`) REFERENCES `tasks` (`id`) ON DELETE SET NULL\\n) ENGINE=InnoDB AUTO_INCREMENT=655 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci\",\n \"execution_ms\": 0\n}"
}
]
}