unity_selection_focus_scene_view
Focus the Scene View camera on a selected GameObject by setting its pivot, rotation, zoom, or orthographic mode to improve scene editing precision.
Instructions
Control the Scene View camera: frame a GameObject, set pivot/rotation/zoom, toggle orthographic.
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": "unity_selection_focus_scene_view"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | GameObject to frame in scene view | |
| port | No | Unity instance port (from unity_select_instance). Always include it when multiple instances run. | |
| size | No | Scene view zoom (camera distance) | |
| position | No | Scene view pivot position | |
| rotation | No | Scene view rotation (euler angles) | |
| instanceId | No | Instance ID of GameObject to frame | |
| orthographic | No | Toggle orthographic/perspective |