zoom_window
Zoom a CAD view to a rectangular area defined by two opposite corners so that region fills the screen for focused inspection.
Instructions
Zoom so a rectangle (two opposite corners) fills the screen, like a zoom-window drag.
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": {
"x0": "<x0>",
"y0": "<y0>",
"x1": "<x1>",
"y1": "<y1>"
},
"name": "zoom_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x0 | Yes | ||
| x1 | Yes | ||
| y0 | Yes | ||
| y1 | Yes | ||
| coords | No | 'px' = pixels of the last image, 'world' = drawing units | px |