Compare two revisions of a drawing (PDF or scan)
drawing_compareCompare two revisions of a drawing (PDF or scan). Lines up two revisions of a technical drawing (vector PDF, scanned PDF or a photo/scan as PNG/JPEG/WebP; shifted, re-scaled, rotated or keystoned) and returns every changed area (added, removed, changed) with where it is on the sheet, the changed words, an overlay PNG (old-only red, new-only blue) and a CSV. Send both files in one ZIP: the old revision first in name order (or named old/new). Same engine as the drawing compare page. Use when: An agent has two revisions of a drawing and needs to know what changed. Not for: DXF pairs (compare them on the page, or turn each into a PDF with dxf_render first); judging whether a change matters. File types: zip. Max 30 MB.
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": "drawing_compare"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options | No | Tool options, if any (see the tool description). | |
| file_url | No | Public https URL of the file (preferred). | |
| filename | No | File name with its extension, e.g. part.step. | |
| file_base64 | No | The file as base64, for small files without a URL (give filename too). |