replace_component
Swap a component in the current assembly with another part or assembly file while preserving its position and optionally reattaching mates; fixes vanished components or updates references.
Instructions
Put another part or assembly file in the place of a component of the current assembly.
Keeps its position and, with reattach_mates, its mates where they still
find their faces; mate_errors lists the ones that do not. Also the cure
for a component that vanished after its part was made anew under the same
path. Returns the new component (name, path, placement, bounding box).
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": {
"name": "<name>",
"path": "<path>"
},
"name": "replace_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| path | Yes | ||
| reattach_mates | No |