I don’t believe their is a script command or way to programatically toggle the tool I/O interface to allow different URCaps control at different times.
Another option would be to communicate to the tools though Modbus, using the Modbus URCap.
Here’s a link to another forum post for a similar issue.