blender_setup_camera
Create or configure a Blender camera with focal length, sensor width, position, rotation, and depth-of-field autofocus, and optionally set it as the active render camera.
Instructions
Create or configure camera parameters (focal length, sensor, depth of field).
Parameters: camera_name: Identifier for the camera object (default: "Camera"). location: World position coordinates [x, y, z]. rotation: Euler orientation angles [rx, ry, rz] in radians. focal_length: Lens focal length in millimeters (e.g. 24, 35, 50, 85). sensor_width: Physical sensor width in millimeters (36.0 = Full Frame). dof_target: Object name to autofocus on. dof_fstop: Lens aperture f-stop for depth of field blur (default: 2.8). set_active: Set camera as the active rendering camera for the scene.
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": "blender_setup_camera"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| location | No | ||
| rotation | No | ||
| dof_fstop | No | ||
| dof_target | No | ||
| set_active | No | ||
| camera_name | No | Camera | |
| focal_length | No | ||
| sensor_width | No |