viewport_fit
Fit selected actors into the viewport frame. Provide actor names to target, or omit to fit all. Set padding to control framing distance.
Instructions
Fit actors into the viewport frame. If actor_names is empty or omitted, fits all actors in the level.
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": "viewport_fit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| padding | No | Distance multiplier (default 1.2 = 20% extra) | |
| actor_names | No | Actor labels to fit (empty = fit all) |