blender_camera_frame
Frame an object or collection with a camera at a chosen azimuth, elevation, lens, and margin; creates the camera if missing, without altering the subject.
Instructions
Move a camera (created if it does not exist) so an object or collection fits the frame with a margin. azimuth 0 views from the front, 90 from the right; elevation tilts up. aspect defaults to the render resolution. The subject is not changed and the active camera only changes with set_active.
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": "<camera>"
},
"name": "blender_camera_frame"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lens | No | ||
| aspect | No | ||
| camera | Yes | ||
| margin | No | ||
| object | No | ||
| azimuth | No | ||
| elevation | No | ||
| collection | No | ||
| projection | No | PERSP | |
| set_active | No | ||
| include_children | No |