export_drawing
Save or export the active AutoCAD 2027 drawing as DWG, DXF, PDF, or PNG using a specified output path and optional format.
Instructions
Save or export the active AutoCAD 2027 drawing to DWG, DXF, PDF, or PNG.
Args: output_path: Target file path (e.g. '/tmp/output.dwg', '/tmp/output.dxf', '/tmp/output.pdf', '/tmp/preview.png'). format: One of 'dwg', 'dxf', 'pdf', 'png'.
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": {
"output_path": "<output_path>"
},
"name": "export_drawing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | dwg | |
| output_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |