obj_zoom
Adjusts the editor viewport zoom to fit all objects or focus on the current selection, helping you inspect and navigate PCB designs.
Instructions
Control the viewport zoom level.
Args: action: "fit" (zoom to show all), "selection" (zoom to selected objects)
Returns: Dictionary confirming the zoom action
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | fit |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||