I have been inserting Link to a Bible Search and then switching to the code editor and changing "search" to "tree".
Maybe just a radio button for "search" or "tree" would work in the existing dialog box. The user would need to understand only a word or a phase would work.
I just noticed that there is a "send link to editor" in the tree tool. Maybe the editor menu addition is not necessary unless you think it would be useful.