Pre-build event in Unreal Build Tool

Hello,

I’d like to know if Unreal Build Tool supports pre-build events. I have a custom tool that I would like to be run every time when I want to build my project. Is this possible with UBT, or maybe there is other way to do it?

There are pre build steps and post build steps for build event.(Pre/Post build step in UBT - Programming & Scripting - Epic Developer Community Forums)