Seismic activity recorded before Tonga eruption may inform future tsunami alerts, aiding early-warning systems in oceanic areas.