scene-delete-game-objects
Delete unwanted game objects from a Phaser scene by providing their unique object IDs and scene ID.
Instructions
Delete the given game objects from the scene.
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": {
"sceneId": "<sceneId>",
"objectIds": "<objectIds>"
},
"name": "scene-delete-game-objects"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sceneId | Yes | The `id` of the scene. The `id` is not the name of the scene, else a unique identifier is set in the scene data. You need to read the scene data to get the `id`. | |
| objectIds | Yes | The `id`s of the game objects to delete. |