replace_component
Replace a component in a SOLIDWORKS assembly by specifying its name and path, and optionally reattach mates to maintain assembly relationships.
Instructions
Replace component through the independent native SOLIDWORKS engine. Public geometry units are mm, degrees and kg. Inspect verified measurements and error evidence.
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 |