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
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "obj_zoom"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | fit |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||