You need a USB flash drive with at least 8GB of space. Note that this process will wipe all existing data on the thumb drive.
If your goal is to perform a completely fresh install of Windows 11 (wiping all data) rather than troubleshooting or repairing your current installation, the "Recovery Drive" tool might not be what you need. Instead, you should download the directly from Microsoft.