From 51626309ba75815146f0a17d778d4b1c354c867b Mon Sep 17 00:00:00 2001 From: Justin Barnett Date: Mon, 24 Mar 2025 09:54:43 -0400 Subject: [PATCH] added return docs for get_scene_info --- Python/tools/scene_tools.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Python/tools/scene_tools.py b/Python/tools/scene_tools.py index 378fbd8..4d7e531 100644 --- a/Python/tools/scene_tools.py +++ b/Python/tools/scene_tools.py @@ -8,7 +8,13 @@ def register_scene_tools(mcp: FastMCP): @mcp.tool() def get_scene_info(ctx: Context) -> str: - """Retrieve detailed info about the current Unity scene.""" + """Retrieve detailed info about the current Unity scene. + + Returns: + str: JSON string containing scene information including: + - sceneName: Name of the current scene + - rootObjects: List of root GameObject names in the scene + """ try: unity = get_unity_connection() result = unity.send_command("GET_SCENE_INFO")