        button.addEventListener('click', () => {
                    document.getElementById('discover-tools-modal').classList.remove('visible');
                });
            });
            
            document.getElementById('confirm-discover').addEventListener('click', discoverTools);
        });
        
        // Load tools
        function loadTools() {
            const toolList = document.getElementById('tool-list');
            toolList.innerHTML = '<tr><td colspan="5" class="loading-cell">Loa