Hello I put here this new doubt:
I am creating a tool that dynamically adds several nodes to the SceneTree at once.
Is there any way to tell the SceneTree to select to edit one of those nodes that I have added as a child?
I found the solution myself:
The EditorInterface class has a method called "edit_node" that does just what I was looking for (The tool script has to have access to that class to use that method).