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.
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": {
"scene_instance_uuid": "<scene_instance_uuid>",
"scene_instance_data": "<scene_instance_data>"
},
"name": "mmar_update_scene_instance"
}
}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 |