inspect_drawing
Summarizes a CAD drawing's format/version, scale, units, bounds, entity counts, layers, text, sheets, and unreadable parts in one call to assess it before reading or editing.
Instructions
Summarize a drawing: format and version, paper, coordinate units and scale (real mm per unit; for Jw_cad per layer group), bounding box, entity counts by kind, layers, the first texts, sheets or pages, and what could not be read. Uses 1 call.
path: a drawing file inside the working folder (or an .ir.json.gz file). use_edits: send the working copy if edit_drawing made one (default true). pages: for PDF, pages like "1-3,5". sheet: a sheet or layout name if the drawing has several.
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": {
"path": "<path>"
},
"name": "inspect_drawing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| pages | No | ||
| sheet | No | ||
| use_edits | No |