ai_modeling_segmentation_edit
Edit GLB model segmentation locally by selecting, brushing, painting, merging, splitting, renaming, and undoing or redoing segment labels to produce an updated model state.
Instructions
select, brush, paint, merge, split, rename, undo or redo segment labels locally
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_path": "<model_path>",
"destination_path": "<destination_path>"
},
"name": "ai_modeling_segmentation_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actions | No | Ordered edit actions; empty creates the initial state. | |
| model_path | Yes | Original static indexed GLB; never use a re-exported preview as the source. | |
| project_id | No | Bind a new state to the Studio project; required before native saving. | |
| state_path | No | Previous segmentation state JSON; must match the exact source GLB. | |
| reserved_names | No | Names reserved by project metadata (deleted/renamed/transformed parts). | |
| source_metadata | No | Source operator children_deleted, children_rename and children_transform_matrix; reused from state when omitted. | |
| destination_path | Yes | ||
| expected_operator_id | No | Source operator from project-get; prevents applying stale edits. |