Change a graphic
update_graphicChanges a long video's graphic: its data, placement or words (at, until, beats; null resets until or beats to the default), with the same checks as add_graphic. Renders it again when what it shows changes, or when its last render failed. Returns the same as add_graphic.
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": {
"project_id": "<project_id>",
"graphic_id": "<graphic_id>"
},
"name": "update_graphic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | The word it starts on, as { take_id, word } with the word's index from get_transcript | |
| data | No | The template's data, matching its data_schema in list_graphics | |
| beats | No | One word per step (a worked sum's lines or a timeline's markers), in order: each step appears as its word is said. null for the template's own timing | |
| until | No | The word it ends on; null for its build plus 2 s, at least 5 s (30 s at most) | |
| placement | No | full replaces the picture; right, left and band are overlays (each template lists the ones it takes) | |
| graphic_id | Yes | From add_graphic or get_project | |
| project_id | Yes | From create_project | |
| check_against | No | A scene id (its script, else its take's transcript) or the script's text: every figure in the data must appear in it |