Compare Drawing Files
compare_drawing_versionsCompare two saved drawing files to check if they are byte-identical and how their sizes differ, showing whether a drawing changed between versions without opening SolidWorks.
Instructions
Compare two drawing files on disk: whether they are byte-identical, and how their sizes differ.
Use it to tell whether a drawing changed between two saved versions. It does not
open SolidWorks, so it can't say which views, dimensions or notes differ.
Identical files mean nothing changed, but different files may not: SolidWorks
writes a different file each time it saves, even with no change. Needs:
both files on disk. Read-only. Returns: comparison with file_1 and file_2
(size, modified time, SHA-256), identical and size_delta_bytes.
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": {
"input_data": "<input_data>"
},
"name": "compare_drawing_versions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | Yes | Both full paths, `drawing_version_1` and `drawing_version_2`; both are required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||