replace_model
Replace a model's mesh with a new file while preserving its placement and supports, ideal for updating re-exported revised parts.
Instructions
Swap a model's mesh for a new file while keeping its placement and supports. Useful when the user re-exports a revised part. file must be an absolute path.
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>",
"file": "<file>"
},
"name": "replace_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| model_id | Yes | ||
| scene_id | No | Scene id; omit for the default scene | default |
| repair_behavior | No | REPAIR |