cleanup_note
Remove intermediate video-processing artifacts (downloads, transcripts, screenshots, temp files). Optionally delete the final note; by default the note is preserved.
Instructions
清理某个任务生成的中间产物(下载的视频/音频、转写、截图、临时文件、dl 目录等)。
- include_note=False(默认):保留最终笔记(note.md / note_dir / 便携笔记目录);
- include_note=True:连最终笔记一起删(含 manifest)。
只删除 manifest 记录 / note_results/{task_id}* / dl_{task_id} 前缀的文件,
且 resolve 校验在数据目录内(防路径穿越)。返回 {deleted, missing, errors, note_kept}。
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_id": "<task_id>"
},
"name": "cleanup_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | ||
| include_note | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |