ws_edit
Edit the project by editing its files — exact old→new replacement, like editing code. job/<job_id>/transcript.txt, transcript/<clip_id>.txt, words/<clip_id>.txt: delete words, phrase lines or pause lines to CUT them from the edit. job/<job_id>/timeline.txt: delete a clip line (remove clip), change its start (move), move the line under another track header (change track), change its src range (trim) or x. project/<project_id>/scenes/<scene_id>/document.html: any edit. Applied as ONE undoable, all-or-nothing batch. dry_run=true returns the operations without applying. old must be copied exactly from a fresh ws_read.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new | Yes | ||
| old | Yes | ||
| path | Yes | ||
| confirm | No | ||
| dry_run | No | ||
| replace_all | No |