You can get this information from the "System Information" app in macOS as well. (At least, that's what it's called in Ventura...)
It should be under Hardware -> Power, in the section titled "AC Charger Information".
You should also be able to see connected USB-C cable capacity under Hardware -> USB. For example, mine says the following:
USB 3.1 Bus:
Host Controller Driver: AppleT8112USBXHCI
USB3.0 Hub:
Product ID: 0x0813
Vendor ID: 0x2109 (VIA Labs, Inc.)
Version: 90.11
Speed: Up to 5 Gb/s
Manufacturer: VIA Labs, Inc.
Location ID: 0x01200000 / 2
Current Available (mA): 900
Current Required (mA): 0
Extra Operating Current (mA): 0
USB2.0 Hub:
Product ID: 0x2813
Vendor ID: 0x2109 (VIA Labs, Inc.)
Version: 90.11
Speed: Up to 480 Mb/s
Manufacturer: VIA Labs, Inc.
Location ID: 0x01100000 / 1
Current Available (mA): 500
Current Required (mA): 0
Extra Operating Current (mA): 0