Charging port in real professional power tools would be nearly useless. There are swappable batteries for a good reason. You discharge one, put in a charger, grab next battery and continue working, and so on. Discharging can be as fast as 5 minutes for high power tools. There are chargers that can charge 4 or even more batteries at once. Also batteries are compatible between many different tools in certain product line, so you can use them for tools that are needed at particular moment.
And these dedicated chargers are big for a reason: for example, they have cooling fans! After 5 minute (~10C) discharge, something which cells can't continuously handle for more than one half-cycle, cells are at maximum temperature (like 60-70degC) but not beyond it only thanks to their thermal mass. Then you put the pack in charger, and the cooling fan allows the charger to commence quick charging. This fan cooling allows not only for the dissipation due to charging current, but also removes the heat stored in the thermal mass of the cells, so that after maybe 20-30 minutes of fast charging, the pack is ready to be discharged in 5 minutes again. And with just 2-3 swappable battery packs, you can have nearly 100% duty cycle.
It would be impractical to continuously cool the cells in the power tool itself as it needs to be hand-held (and is operated in even dustier conditions than the charger), so obviously no cooling fan there.
For cheap chinesium tools for light-weight home use, fixed batteries within the tool, and USB-C port, under a plastic cap for dust protection, is not that bad of an idea. Nowadays it seems that every crap tool series have their own swappable battery system, yet people only buy that one tool, and the next year they need something different and get a different chinesium brand, and never a second battery for either, so swappable batteries and separate chargers only increase the cost and amount of e-waste. Such single-use cheap tools could as well use a fixed battery - and then, choice of USB-C is obvious e-waste reduction as no separate charger needs to be packaged.