No, you just need to make sure to do it correctly. I do not know that tool you're using, but with Mosquitto this format should work:
mosquitto_pub -h (mqtt-broker) -t "cmnd/tasmota_2FC429/Buzzer" -m "-1,2,3,0xF54"
Of course, details may depend on your operating system and shell peculiarities. And you may have configured Tasmota to expect a different topic or topic format. Obviously you should be connected to the same MQTT broker.