Looking at some existing tool that have different “modes of operation” is one place to start. This is the first one I can think of offhand. You can find it in the Main ToolShed
I’m sorry that didn’t help. It seemed to me that you could place each tool as mode of operation, then reuse the portions of the form that apply to common tools, and remove others based on how the user toggles the “mode” (where each mode corresponds to a tool).
Another example is in this tool. The form changes based on the initial selection.
qiime2 tools import Import data into a QIIME 2 artifact
Maybe you could make one for your tool suite as a whole, then reference it in all of the components? Then cluster the highly similar components into tool forms with the toggle modes?
Let’s also bring in some of our tool developers. Maybe they have better ideas or can at least explain it clearer than I am! Feel free to join the chat, too! You're invited to talk on Matrix