mmar_update_scene_instance
Update an existing model instance with smart diffing: add new elements, update existing ones, and create relationclass instances for connections.
Instructions
Update an existing model instance (diagram). Uses smart diffing — new elements are added, existing ones updated.
IMPORTANT: This is the RECOMMENDED way to add connections (relationclass instances). Include uuid_scene_type in the payload. New relationclasses_instances entries will be created.
The payload must include at minimum: uuid, name, uuid_scene_type. Add relationclasses_instances array with connection objects including role_instance_from/to.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scene_instance_data | Yes | JSON string of the updated SceneInstance data. MUST include 'uuid_scene_type'. The server will diff against current state and apply changes. | |
| scene_instance_uuid | Yes | The UUID of the SceneInstance to update |