Make the video of a task
start_task_videoMakes the short motion film of a task's preview, with a poster, the same film CodeGene makes on its own when a task is ready to try: the planner picks the template (in the style asked for, if any), the workspace's saved video style (and its notes) shapes it, and the design gate checks it; it is attached to the task's report and its poster is emailed to the task's author. Give the task, a style only when the person asked for one, and an extension only when the film should show a browser extension of theirs over the pages. Answers started or already_started with the run id (a video of a task already being made is answered, never started twice), invalid (no task you can see, or the workspace's allowance is used up) or unavailable (try later). It does not wait: read it with get_task_video; a film takes a few minutes once a render machine is free.
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": {
"task": "<task>"
},
"name": "start_task_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | The task (tsk_…; list_tasks gives ids). | |
| style | No | The style of film, when the person asked for one: highlight (the change on its page, with callouts and taps), before-after (the page as it was, then as it is), fix (a bug, then fixed), walkthrough (a guided tour across the pages of the site or app), tutorial (how to do something, step by step), welcome-tour (a short first-visit orientation to a new site or app), bumper-ad (a six-second ad of the change), spotlight (one feature, seen close), explainer (what the change does and why), whats-new (several changes in one film). Leave it out for the film CodeGene picks for the task. A style the task cannot be told in is filmed in the task's own style and the video says so. | |
| reason | No | Why, in a sentence: kept in the audit with the start. It does not reach the film. | |
| extension | No | A browser extension component of yours (cmp_...) to film the task with: its newest production build is loaded in the film's browser so the film shows the extension over your pages. | |
| workspace_id | No | Workspace id from whoami; omit when there is one. |