mmar_create_scene_instance
Create a model instance for a scene type by supplying the scene type UUID and scene instance JSON with a new UUID and name, optionally adding class, relation, role, attribute, and port instances.
Instructions
Create a new model instance (diagram) for a specific SceneType. The scene_instance_data should be a JSON object with at minimum: uuid (generate a new UUID v4), name, and optionally class_instances, relationclasses_instances, role_instances, attribute_instances, and port_instances arrays.
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_type_uuid": "<scene_type_uuid>",
"scene_instance_data": "<scene_instance_data>"
},
"name": "mmar_create_scene_instance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scene_type_uuid | Yes | The UUID of the SceneType to create an instance for | |
| scene_instance_data | Yes | JSON string of the SceneInstance data to create. Must include 'uuid' (a new UUIDv4) and 'name'. Can include nested class_instances, relationclasses_instances, etc. |