get_scene_info
Extract detailed metrics and metadata from the current Blender scene to analyze and optimize 3D modeling projects.
Instructions
Get detailed information about the current Blender scene
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/blender_mcp/server.py:239-251 (handler)The main handler function for the 'get_scene_info' MCP tool. It uses the @mcp.tool() decorator for registration and executes the tool logic by sending a 'get_scene_info' command to the Blender connection and returning the JSON-formatted result.@mcp.tool() def get_scene_info(ctx: Context) -> str: """Get detailed information about the current Blender scene""" try: blender = get_blender_connection() result = blender.send_command("get_scene_info") # Just return the JSON representation of what Blender sent us return json.dumps(result, indent=2) except Exception as e: logger.error(f"Error getting scene info from Blender: {str(e)}") return f"Error getting scene info: {str(e)}"