update_model
Adjust a 3D model's position, rotation, scale, name, or lock state in a Formlabs print scene.
Instructions
Move, rotate, rescale, rename or lock a model. position is {x,y,z} mm; orientation is Euler degrees {x,y,z}. lock (FREE, LOCKED_XY_ROTATION_FREE_TRANSLATION, LOCKED_ROTATION_FREE_TRANSLATION, FULLY_LOCKED) controls what auto_layout / auto_pack may change.
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": {
"model_id": "<model_id>"
},
"name": "update_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lock | No | ||
| name | No | ||
| scale | No | ||
| model_id | Yes | ||
| position | No | ||
| scene_id | No | Scene id; omit for the default scene | default |
| orientation | No | Euler degrees {x,y,z}, or {z_direction:[..], x_direction:[..]} unit vectors |