Change walls, lights and other canvas elements
update-canvas-elementsUpdate up to 200 canvas elements of one type on a Foundry scene using { id, changes } entries. Pre-checks all IDs, skips unchanged fields, and supports dry-run. Requires scene change level.
Instructions
Change up to 200 elements of one type on a scene: each entry is { id, changes }, with Foundry fields and dotted keys such as "config.dim". Wall words as in create-canvas-elements. Every id is checked first; one unknown id changes nothing. Fields already holding the value are not written. Needs the level "change" for scenes.
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": {
"elementType": "<elementType>",
"updates": "<updates>"
},
"name": "update-canvas-elements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | Only check and report what would happen, including a refusal; change nothing | |
| updates | Yes | The changes, 1 to 200: { id, changes } | |
| elementType | Yes | Type of all elements in this call | |
| sceneIdentifier | No | Scene id or name; default the scene that is active for everyone |