This is an example I created where I added a custom version of the portscanner tool (with command-line arguments), so when I right-click on an Orion node I have the option to start scanning the Orion node automatically for open ports.
So firstly, for the .exe in question I ran it from the command line to check available options:
PS C:\Program Files (x86)\SolarWinds\Toolset> .\PortScanner.exe /?
So add in a custom menu to the toolset integration
Add in the .exe you want (in this case one of the tools) and whatever command line arguments you need
So when you right click on a node in Orion, the context menu appears
And when you run the tool, it’s already pointed at the node