TeleportYes, you have several solutions to escape from inside the toad or to be extracted from outside with the help of other party members.
From inside the toad
**Teleport**For getting out of the Toad, the simplest way would be to teleport . (youYou don't need to see where you want to go)
DominateOther solutions (subject to DM approval)
After that, I the other options I see depend on your DM. You could try to force the Toad to vomit by creating a reaction in her stomach (by creating gas or fire inside it [or disgusting material that would provoke the toad to gag])
From outside the toad (other party members helping)
Enchantment
Another way would be to dominate the Toad to spit the swallowed character (for example with dominate beast). And if the DM argueargues that you cannot force the toad to spit the character, you could force it to open its mouth as wide as possible.
A low level solution would be suggestion.
ParalyseParalyze
If you give the condition paralyzed or unconscious to the Toad, you could open its mouth and try to extract the character (you could to that using a wand of paralysis)
**Other solutions**
After that, I the other options I see depend on your DM. You As noted by @Mindwin, this solution could try to force the Toadbe subject to vomit by creating a reaction in her stomach (by creating gas or fire inside it [or disgusting material that would provoke the toad to gag])DM ruling.