export_drawing
Export AutoCAD drawings to PDF, DWG, DXF, PNG, BMP, or WMF; use headless mode for DXF, PNG, PDF, or SVG when AutoCAD is unavailable.
Instructions
Export the drawing: AutoCAD → pdf/dwg/dxf/png/bmp/wmf; headless → dxf/png/pdf/svg.
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": "export_drawing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| format | No | Defaults to the path's extension |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||