export_dwg
Convert the current 2D CAD scene to DWG by generating a DXF and using LibreDWG's dxf2dwg, returning base64 bytes or writing to a specified path.
Instructions
Export the current 2D scene to DWG by writing a DXF and converting via LibreDWG's dxf2dwg. Returns base64 DWG bytes; pass path to also write to disk. Run dwg_tools_status to confirm dxf2dwg is installed.
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": "export_dwg"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| entity_ids | No |