I will give an example of a command to send a wol packet:
tool wol mac=FF:FF:FF:FF:FF:FF
By default, a packet is sent from the gateway interface, but you can also specify the interface manually:
tool wol interface=ether1 mac=FF:FF:FF:FF:FF:FF
So simple.