Clear Minecraft Chat?

Co
2

I'm playing with a few friends on a realm of mine and we use quite a few commands with /, so I wanted to ask if there's a command that clears the chat because it is pretty full

mi

Press F3+ Q times, then you will get all commands with F3 displayed.

To clear the chat would have to go with F3+ D.

Co

Thanks, it worked