Shots on a timeline
canvas_shotA piece in shots, one after another on one timeline (read canvas_schema {topic: "shots"} first). plan lays out the storyboard. shot with ops writes that whole shot in one call, replacing what it had: all or nothing, every error listed; mode validate tries it and saves nothing. shot with len, in, cam, note or print changes its setting. shot alone reads it back as a document (patch it with canvas_edit by name). No arguments: the timeline.
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": "canvas_shot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| in | No | how it arrives: cut|fade|push|wipe|slide|iris|brush|whip, or {cut, dur, dir: left|right|up|down} | |
| cam | No | its camera: {keys: [{at: 0..1, x, y, zoom, rot}], dur?, delay?, ease?}; null for none | |
| len | No | seconds | |
| ops | No | every object in the shot, replacing what it had (its layer is set for you) | |
| defs | No | shapes said once, as canvas_draw takes them | |
| look | No | the after preview as canvas_look would show it: {frame (an artboard), view {x, y, w, h}, focus [names], time, strip, span, shot} (alone, it asks for preview after). With no frame, view or focus, a call that painted inside one artboard previews that artboard. With mode validate: a dry run, nothing saved or shown to people | |
| mode | No | atomic (default): all or nothing; validate: a dry run, nothing saved or shown to people | |
| next | No | ||
| note | No | what happens in it (the storyboard line) | |
| plan | No | the storyboard, first shot first: [{shot: "s1", len: 1.6, in?: "cut", note?: "what happens"}]: makes or updates those shot layers in this order | |
| shot | No | one shot: its layer name | |
| No | its own print finish (canvas_edit {print} has the fields), false for none, null to follow the canvas | ||
| canvas | No | ||
| working_on | No | what you are about to change: object names, kit fields ("kit.colors.accent") or frames; people watching see them marked as being worked on, and canvas_open tells a second assistant, for a minute or until your next call. A soft claim, not a lock | |
| model_label | No | Optional public model name for the painting cursor, labeled as reported. Use only if your client knows it. | |
| preview_width | No | Pixels across for the preview (default 480; alone, it asks for preview after) | |
| expected_revision | No | Apply only at this drawing revision |