Godot Dynamically Scaling Text

I’m creating a dialogue system for a game, and I’d like to know how to make the text scale dynamically with the amount of text in the box. Here’s what it currently looks like:

but I want it to change the scale of the text so that it fits inside of the text label rather than extending and going outside of it.

I wanna know if any built-in features accomplish this effect before dedicating my time to creating a system that replicates this.

This is what I want to accomplish: