Write a film file
write_fileWrites one file of the film (film/Film.tsx is the entry) and compiles the whole film. Returns what is wrong, or that it plays. Use edit_file for small changes afterwards.
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": {
"video": "<video>",
"path": "<path>",
"content": "<content>"
},
"name": "write_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | film/<Name>.tsx or film/<Name>.ts | |
| video | Yes | The video's id, from start_video | |
| content | Yes | The whole file |