bricscad_save_drawing
Save the current BricsCAD drawing to its open file or a new .dwg path, optionally overwriting existing files, and return updated drawing details.
Instructions
Save the current drawing. Returns the same details as bricscad_drawing_info.
path: a new .dwg path. The drawing then continues under that name, and is no longer read-only. Leave it out to save over the open file, which needs overwrite=true. overwrite: true allows replacing an existing file. BricsCAD leaves a .bak beside it. A read-only drawing cannot be saved over its own file, and a file open as another drawing cannot be replaced.
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": "bricscad_save_drawing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| timeout | No | ||
| overwrite | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||