set_camera
Adjust the active camera's position, rotation, FOV, zoom, and orthographic bounds for live Three.js scene previews without editing source code.
Instructions
[LIVE PREVIEW] Changes the scene in the browser only — NOT saved to source code, lost on reload. Recorded in pending_changes (→ code edits) and undoable with revert_changes. Change the active camera: position, rotation, FOV, near/far, zoom, ortho bounds.
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": "set_camera"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| far | No | ||
| fov | No | PerspectiveCamera | |
| top | No | OrthographicCamera | |
| left | No | OrthographicCamera | |
| near | No | ||
| zoom | No | ||
| right | No | OrthographicCamera | |
| aspect | No | PerspectiveCamera | |
| bottom | No | OrthographicCamera | |
| position | No | [x, y, z] | |
| rotation | No | [x, y, z] in radians |