document_open
Load an existing DWG or DXF file by path and make it the active document for editing or inspection.
Instructions
Open an existing allowed DWG/DXF path as the active document; changes session state.
Side-effects: Changes active document session. Disambiguation: Use to load an existing drawing; use document_new to create a blank drawing.
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": "document_open"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Filesystem path to the existing DWG or DXF file to open |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||