focus_viewport
Move the Unreal Editor viewport camera to focus on any world location. Specify a position and distance to frame the view precisely.
Instructions
Move the Unreal Editor viewport camera to focus on a world location.
Args: location: [X, Y, Z] world-space position to look at distance: How far back from the location to place the camera (cm)
KB: see knowledge_base/10_WORLD_BUILDING.md#overview Example: focus_viewport()
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": "focus_viewport"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| distance | No | ||
| location | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |