set_camera_property
Adjust an existing Blender camera's focal length, clipping range, depth of field, position, and rotation to control framing and scene focus.
Instructions
Set properties on an existing camera.
Parameters:
camera_name: Name of the camera object
focal_length: Lens focal length in mm
clip_start: Near clipping distance
clip_end: Far clipping distance
dof_enabled: Enable/disable depth of field
dof_focus_distance: DOF focus distance
dof_aperture_fstop: DOF aperture f-stop
location: [x, y, z] position
rotation: [x, y, z] rotation in radians
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": {
"camera_name": "<camera_name>"
},
"name": "set_camera_property"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clip_end | No | ||
| location | No | ||
| rotation | No | ||
| clip_start | No | ||
| camera_name | Yes | ||
| dof_enabled | No | ||
| focal_length | No | ||
| dof_aperture_fstop | No | ||
| dof_focus_distance | No |