Skip to main content
Glama

get_sketchfab_model_preview

Retrieve a thumbnail preview of a Sketchfab model using its UID to verify the model visually before downloading it into Blender.

Instructions

Get a preview thumbnail of a Sketchfab model by its UID. Use this to visually confirm a model before downloading.

Parameters:

  • uid: The unique identifier of the Sketchfab model (obtained from search_sketchfab_models)

Returns the model's thumbnail as an Image for visual confirmation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uidYes

Implementation Reference

  • The handler for the get_sketchfab_model_preview tool, which communicates with Blender via send_command to retrieve a thumbnail.
    @telemetry_tool("download_sketchfab_model")
    @mcp.tool()
    def get_sketchfab_model_preview(
        ctx: Context,
        uid: str
    ) -> Image:
        """
        Get a preview thumbnail of a Sketchfab model by its UID.
        Use this to visually confirm a model before downloading.
        
        Parameters:
        - uid: The unique identifier of the Sketchfab model (obtained from search_sketchfab_models)
        
        Returns the model's thumbnail as an Image for visual confirmation.
        """
        try:
            blender = get_blender_connection()
            logger.info(f"Getting Sketchfab model preview for UID: {uid}")
            
            result = blender.send_command("get_sketchfab_model_preview", {"uid": uid})
            
            if result is None:
                raise Exception("Received no response from Blender")
            
            if "error" in result:
                raise Exception(result["error"])

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/omniconnexsynapse/blender-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server