{
"event": "PreToolUse",
"tool_name": "mcp__mcp-db__db_select",
"tool_input": {
"query": "SELECT id, created_at, hook_type, tool_name, status, blocked_reason, command_preview FROM mcp_log WHERE status = 'blocked' OR blocked_reason IS NOT NULL ORDER BY id DESC LIMIT 50",
"database": "ki_dev"
}
}
{
"tool_response": [
{
"type": "text",
"text": "{\n \"status\": \"error\",\n \"data\": null,\n \"row_count\": 0,\n \"error\": \"1054 (42S22): Unknown column 'created_at' in 'SELECT'\",\n \"execution_ms\": 1\n}"
}
]
}