view
Control viewports and capture screenshots in AutoCAD LT. Zoom to extents or specific windows, and save the current view as PNG images.
Instructions
Viewport control and screenshot capture.
Operations: zoom_extents — Zoom to show all entities. zoom_window — Zoom to window: x1, y1, x2, y2 get_screenshot — Capture current view as PNG image.
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": {
"operation": "<operation>"
},
"name": "view"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation | Yes | ||
| x1 | No | ||
| y1 | No | ||
| x2 | No | ||
| y2 | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |