convert_drawing
Convert CAD drawings or working copies to DXF, DWG, JWW, PDF, SVG, PNG, STL, OBJ, STEP, or GLB and save outputs with a loss report.
Instructions
Convert a drawing (or its working copy) and save the outputs in the output folder (zumen-gate-out by default). Returns the saved paths and the main losses. Uses 1 call; writing JWW, DWG, SFC, P21 or STEP uses 10, and without enough paid calls returns only a preview and the loss report.
to: dxf, dwg, jww, sfc, p21, pdf, svg, png, ir, or for 3D models stl, obj, step, glb. version: the output version (e.g. a DWG version). scale: the output scale like "1/100". pages: for PDF input, pages like "1-3". A conversion longer than 40 s returns a job_id; call get_job with it.
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>",
"to": "<to>"
},
"name": "convert_drawing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| path | Yes | ||
| pages | No | ||
| scale | No | ||
| out_dir | No | ||
| version | No | ||
| use_edits | No |