Skip to main content
Glama

delete_object

Remove an object from the Blender scene by specifying its name. Part of the Tripo MCP Server, which connects AI assistants to Blender for 3D asset management.

Instructions

Delete an object from the Blender scene. Parameters: - name: Name of the object to delete

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes

Implementation Reference

  • MCP tool handler for 'delete_object'. Decorated with @mcp.tool(), it connects to Blender and sends a delete_object command with the specified object name.
    @mcp.tool() def delete_object(ctx: Context, name: str) -> str: """ Delete an object from the Blender scene. Parameters: - name: Name of the object to delete """ try: # Get the global connection blender = get_blender_connection() result = blender.send_command("delete_object", {"name": name}) return f"Deleted object: {name}" except Exception as e: logger.error(f"Error deleting object: {str(e)}") return f"Error deleting object: {str(e)}"
  • src/server.py:399-399 (registration)
    Registration of the delete_object tool via @mcp.tool() decorator.
    @mcp.tool()

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/VAST-AI-Research/tripo-mcp'

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