I tried to get the name of the current scene with the use of tool, a powerful feature of Godot. Too bad the Object is null and my script is in the scene.

I was able to run the game and I saw the name of the scene but I want to see the name in in tool mode is there any way I can get the current name scene while still in editor?