updateEntity
Alter an entity's position, color, label, scale, or visibility with its ID. Returns confirmation of success.
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) |