Save Named View
view_named_saveSave a named AutoCAD view's center, height, and width for later recall; reusing a name replaces the existing view.
Instructions
Store a VIEW table entry (AutoCAD's VIEW command). Same name replaces
(replaced: true). Refusals: height/width ≤ 0 or non-finite, a
malformed center, and headless an empty drawing with no center/height
(there are no extents to default to). Pack: settings · lean: no.
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": {
"name": "<name>"
},
"name": "view_named_save"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | View name, e.g. DETAIL-A | |
| width | No | View width; default: height × the current viewport aspect | |
| center | No | [x, y] in WCS; default: the current view (live) or the drawing extents (headless) | |
| height | No | View height in drawing units; default as for center |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||