The Mage Hand cantrip should be able to set off the trap. Well in 5e anyways, not BG3 yet. The Unseen Servant 1st level Ritual Spell would be useful as well, getting the party further away than Mage Hand, if it were in the game that is.