direct_cast
Direct a shot's cast: add, change or remove timed actions, emotions, talking and looks for members, targeting a shot id or the shot on screen.
Instructions
Direct the cast of a shot (shot_id, or scene + shot; left out: the shot on screen): actions, faces, talking and looking. kind action: a move (type from library actions) by actor, some need a target; timed by when or exact at %. kind emotion: a face feeling on member at %. kind talk: member's mouth moves from % to %. kind look: member looks at target from % to %. op add (default), change (id), remove (id), clear (all of that kind). Ids must come from the current style: call library to see them (a wrong id is refused with the valid list). Returns the item id. One undo step for the person. To place or remove people use set_cast; for exact paths over time use set_keyframes.
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": "direct_cast"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | When it happens, in % through the shot (0 to 100) | |
| id | No | The action/emotion/talk/look id, for change and remove. | |
| op | No | add if left out. clear removes every item of this kind in the shot. | |
| to | No | End, in % through the shot (0 to 100) | |
| from | No | Start, in % through the shot (0 to 100) | |
| kind | No | action if left out. | |
| shot | No | Shot index from 0 inside that scene (with scene; alone: in the scene on screen). A shot id works here too. | |
| side | No | For sided moves. | |
| type | No | Action id (library actions). | |
| when | No | Rough timing in the shot. Use at for an exact %. | |
| actor | No | Member id or name doing the action (first cast member if left out). | |
| scene | No | Scene index from 0 (with shot). Used when shot_id isn't given. | |
| speed | No | Action speed, 1 is normal. | |
| member | No | For emotion, talk, look: whose face. | |
| target | No | Member id or name it's done to / looked at. | |
| emotion | No | Emotion id (library emotions). | |
| shot_id | No | The shot's id from get_project. Or give scene and shot instead. Left out: the shot on screen. |