Combining GRAVITY and JWST to characterize exoplanets at high angular resolution