Save As
drawing_save_asSave the active AutoCAD drawing to a new file path or format by specifying DWG, DXF, or DWT output; format is determined by the file extension, with an optional override for unrecognized paths.
Instructions
Save current drawing to a new path/format (DWG, DXF, or DWT template).
The on-disk format is derived from the file extension so the bytes always
match the name (N2) — e.g. 'part.dxf' writes DXF, not DWG. format overrides
only when the path has no recognised extension.
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": "drawing_save_as"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Full destination path including extension | |
| format | No | Output format override: dwg, dxf, dwt. Default: derive from the path extension (the extension is authoritative). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||