updateEntity
Change an entity's location, appearance, label, or visibility with new coordinates or CSS color. Provides clear success or error feedback for 3D scene updates.
Instructions
Update the position, appearance, label, or visibility of an entity. Returns { success: boolean, data?: unknown, message?: string, error?: string }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| show | No | Whether to show | |
| color | No | New color (CSS format) | |
| label | No | New label text | |
| scale | No | New scale factor | |
| entityId | Yes | Entity ID (returned by addMarker/addPolyline etc.) | |
| position | No | New position coordinates | |
| sessionId | No | Target browser session ID for multi-browser routing (optional) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | ||
| message | No | ||
| success | Yes |