Astral Communication (5e Spell)
From D&D Wiki
You split a gateway to the Astral Plane and standing on the other side are the Twins of the Astral plane, they bow gently awaiting your questions Contacting this extra planar intelligence can strain or even break your mind. When you cast this spell, make a DC 15 Intelligence saving throw. On a failed save, you can't will the gateway to remain open so it snaps close and dispels some Astral Energy you take Psychic damage equal to your Psychic damage equal to your classes level, i.e. a level 9 Chronomancer that fails the roll takes 9d8 necrotic damage
On a successful save, you can ask the entity up to five questions. You must ask your questions before the spell ends. The DM answers each question with one word, such as yes, no, maybe, never, irrelevant, or unclear (if the entity doesn’t know the answer to the question). If a one-word answer would be misleading, the DM might instead offer a short phrase as an answer.