pack_and_go_assembly
Copy a SolidWorks assembly and all its referenced parts into a self-contained folder, rewriting component paths so the assembly opens without dependency on original file locations.
Instructions
Copy a SolidWorks assembly and all its referenced parts to a self-contained folder.
Enumerates every component referenced by the active assembly, copies the
assembly and each part into target_dir, then rewrites the stored
component paths inside the copied assembly so it opens without any
dependency on the original file locations — equivalent to the SolidWorks
GUI Pack-and-Go operation.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "pack_and_go_assembly"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | No | The input data value. Defaults to None. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||