fablecut_files
Manage FableCut project media files on disk: list, create folders, move or rename files, and trash/restore items while keeping project clips online and transcripts intact.
Instructions
The project's files on disk, inside ./media/ (the folder fablecut_import_media copies into): list a folder, make folders, move or rename files and folders, and throw away what isn't needed. Nothing is deleted: trash moves a file into media/.trash/ and restore puts it back. A move repoints every project's media entries at the new place, so no clip goes offline, and the file keeps its transcript. Trash refuses a file a project still uses (removeMedia it first, or force:true to trash it anyway: it goes offline there until restored). The media bin's folders (folderId) are separate: they organize entries, these are the real folders. Paths are relative to media/ ('b-roll/day 1/a.mp4') or /media/… srcs. Move, rename and trash only when the user asked for it.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "fablecut_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | restore: a trashed item's id (trash-list shows them) | |
| to | No | move: an existing folder to move it into, or the new path (a rename) | |
| dir | No | list: the folder (default media/ itself) · mkdir: the folder to make (parents too) | |
| from | No | move: the file or folder | |
| force | No | trash: even files a project still uses (they go offline until restored); move: even while a project can't be read (the file goes offline there) | |
| paths | No | trash: files or folders | |
| action | No | list (default) · mkdir · move (also renames) · trash · trash-list · restore |