scene-add-plain-objects
Add multiple plain objects, such as Tilemaps or Colliders, to a Phaser scene using their required and optional properties.
Instructions
Add multiple new plain objects to 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>",
"objects": "<objects>"
},
"name": "scene-add-plain-objects"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| objects | Yes | ||
| 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`. |