document_save
Saves the active AutoCAD drawing to its existing file path, persisting unsaved changes; when a path is supplied, writes the drawing to that destination instead.
Instructions
Save the currently bound document to its verified existing path, or delegate to SaveAs when path is supplied; success requires immediate persisted-clean readback.
Side-effects: Persists unsaved drawing changes to disk and clears dirty state. Disambiguation: Use document_save to persist changes in-place; use document_save_as to write to a new destination path.
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": "document_save"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Optional file destination path; if omitted saves in-place to currently bound path |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||