get_polyhaven_status
Check if PolyHaven asset integration is enabled in Blender to verify availability of its features for 3D modeling workflows.
Instructions
Check if PolyHaven integration is enabled in Blender. Returns a message indicating whether PolyHaven features are available.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/blender_mcp/server.py:481-497 (handler)The handler function for the 'get_polyhaven_status' tool. It uses the Blender connection to send a 'get_polyhaven_status' command to Blender and returns the status message or an error.@mcp.tool() def get_polyhaven_status(ctx: Context) -> str: """ Check if PolyHaven integration is enabled in Blender. Returns a message indicating whether PolyHaven features are available. """ try: blender = get_blender_connection() result = blender.send_command("get_polyhaven_status") enabled = result.get("enabled", False) message = result.get("message", "") return message except Exception as e: logger.error(f"Error checking PolyHaven status: {str(e)}") return f"Error checking PolyHaven status: {str(e)}"