MC Toolkit / Commands / Advanced Command Builder — Control & Debug / Target Selector Generator
Target Selector Generator
Build a Minecraft target selector like @e[type=zombie,distance=..5,limit=1] visually, with type, distance, gamemode, team, tag and rotation filters.
Run these from an operator’s chat, a command block, or a function file. Stopwatch and Fetchprofile are newer commands — check availability on your Minecraft version.