Delete an output file
creator_delete_fileDelete an output or media/ file by name. Deleting a file that is still encoding cancels the encode. Pass expectedJobId from a creator_download_file result to delete the file only while that job's export still holds the name, even after it completes. If another export replaced it, the call returns output_changed; check the export again instead of dropping expectedJobId.
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": {
"file": "<file>"
},
"name": "creator_delete_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | File name passed to creator.render / creator.export, e.g. "hero.mp4". | |
| documentId | No | Document the file belongs to (default "default"). | |
| expectedJobId | No | Delete only while this job's export still holds the name, even after it completes. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||