cassette_edit
Apply direct timeline edits like trim, text, delete, or undo to small named changes after reading the timeline, using an expected version to keep operations consistent.
Instructions
Surgical no-LLM timeline edit through the manual-editor command lane (requires CASSETTE_DIRECT_EDIT=1). Use for small named changes (trim, text, delete, undo) after reading cassette_timeline; big or creative briefs go through cassette_run_job. input is always {"payload": {...}}. Pass expected_version from the last timeline read; tool_name 'undo' with input.cursorSequence rewinds the shared operation history.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | No | ||
| tool_name | Yes | ||
| session_id | Yes | ||
| expected_version | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No | ||
| phase | Yes | ||
| job_id | No | ||
| warnings | No | ||
| artifacts | No | ||
| session_id | No | ||
| next_action | Yes |