{
"event": "PreToolUse",
"tool_name": "mcp__mcp-db__db_describe",
"tool_input": {
"table": "task_results",
"database": "ki_dev",
"show_create": true
}
}
{
"tool_response": [
{
"type": "text",
"text": "{\n \"status\": \"success\",\n \"table\": \"task_results\",\n \"create_statement\": \"CREATE TABLE `task_results` (\\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\\n `task_id` bigint(20) unsigned NOT NULL,\\n `assignment_id` bigint(20) unsigned DEFAULT NULL,\\n `executor` varchar(100) NOT NULL,\\n `executor_type` enum('human','ollama','claude','anthropic_api') NOT NULL,\\n `model_name` varchar(100) DEFAULT NULL,\\n `request` text DEFAULT NULL,\\n `response` longtext DEFAULT NULL,\\n `request_timestamp` datetime(6) NOT NULL DEFAULT current_timestamp(6),\\n `response_timestamp` datetime(6) DEFAULT NULL,\\n `duration_ms` int(10) unsigned DEFAULT NULL,\\n `tokens_input` int(10) unsigned DEFAULT NULL,\\n `tokens_output` int(10) unsigned DEFAULT NULL,\\n `tokens_total` int(10) unsigned DEFAULT NULL,\\n `cost_usd` decimal(10,6) DEFAULT NULL,\\n `status` enum('success','error','partial') NOT NULL DEFAULT 'success',\\n `error_message` text DEFAULT NULL,\\n `created_at` datetime(6) NOT NULL DEFAULT current_timestamp(6),\\n PRIMARY KEY (`id`),\\n KEY `idx_task_id` (`task_id`),\\n KEY `idx_assignment_id` (`assignment_id`),\\n KEY `idx_executor` (`executor`),\\n KEY `idx_executor_type` (`executor_type`),\\n KEY `idx_model` (`model_name`),\\n KEY `idx_status` (`status`),\\n KEY `idx_created_at` (`created_at`),\\n CONSTRAINT `fk_result_assignment` FOREIGN KEY (`assignment_id`) REFERENCES `task_assignments` (`id`) ON DELETE SET NULL,\\n CONSTRAINT `fk_result_task` FOREIGN KEY (`task_id`) REFERENCES `tasks` (`id`) ON DELETE CASCADE\\n) ENGINE=InnoDB AUTO_INCREMENT=656 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci\",\n \"execution_ms\": 0\n}"
}
]
}