get_scene_info
Retrieve comprehensive details about the active Blender scene, including objects, materials, and structure for analysis and manipulation.
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:244-255 (handler)The main handler function for the 'get_scene_info' tool, decorated with @mcp.tool() for automatic registration in the FastMCP server. It retrieves scene information by sending a command to the Blender addon via socket connection and returns formatted JSON.@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)}"
- src/blender_mcp/server.py:884-885 (helper)The asset_creation_strategy prompt template recommends calling get_scene_info() first to check the current Blender scene before performing other operations.0. Before anything, always check the scene from get_scene_info() 1. First use the following tools to verify if the following integrations are enabled: