Hi Alex –
Take a look at the code snippet here: Tank Command for Dev config – you could use the Bootstrap API to initialize a Toolkit engine with your config.
From there, you can follow the code snippet here to get the validate
command and execute it.
Hope that helps! Let me know if you have any other questions.