In this section

Historical Rules · 14 April 2023

Rule 514.1

Official source text from the 14 April 2023 Rules release

Permalink

First, if the active player’s hand contains more cards than their maximum hand size (normally seven), they discard enough cards to reduce their hand size to that number. This turn-based action doesn’t use the stack.

Find this number in the current Rules