viewport_set_camera
Configure the viewport camera's position, target, and lens settings to frame 3D scenes for inspection or screenshots.
Instructions
Set the viewport camera position, target, and lens properties.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"location": "<location>",
"target": "<target>"
},
"name": "viewport_set_camera"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lens | No | ||
| target | Yes | ||
| location | Yes | ||
| camera_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |