set_camera
Configure a shot's camera by applying a preset move or custom keyframes for position, angle, and easing. Returns the camera settings for the shot.
Instructions
Set a shot's camera (shot_id, or scene + shot; left out: the shot on screen): a preset move with strength and wiggle, or direct it with camera keys (keys win over the move). Each key: at (seconds) and any of x, y, z, distance, height, angle, roll, ease; what a key leaves out is taken from where the camera is at that moment. Ids must come from the current style: call library to see them (a wrong id is refused with the valid list). Returns the camera settings. One undo step for the person. For the end-of-shot camera move into the next shot, use set_transition (outro_camera).
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 |
|---|---|---|---|
| keys | No | Camera keys in time order. | |
| move | No | Camera move id (library cameras). Clears camera keys. | |
| shot | No | Shot index from 0 inside that scene (with scene; alone: in the scene on screen). A shot id works here too. | |
| scene | No | Scene index from 0 (with shot). Used when shot_id isn't given. | |
| wiggle | No | Handheld feel: 0 locked off, 1 normal, up to 3. | |
| shot_id | No | The shot's id from get_project. Or give scene and shot instead. Left out: the shot on screen. | |
| strength | No | How far the move goes, 0 to 100. | |
| clear_keys | No | true: drop camera keys, back to the move. | |
| replace_keys | No | false: add these keys to the ones there. Default replaces them. |