gameobject_delete
Remove a GameObject and its children from a Unity scene by specifying the object's name. This tool enables developers to clean up scene hierarchies and manage object lifecycle through the Unity API Communicator MCP Server.
Instructions
Delete a GameObject from the scene by name. The object and all its children will be destroyed.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "gameobject_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the GameObject to delete |