Skip to content
Changelog

editor.words.tighten

Cuts filler words and shortens long pauses in a transcribed clip.

JSON-RPC 2.0project.write

Parameters

  • clipstringrequiredThe clip's id, from editor.timeline.get.
  • fillersbooleanCut filler words. Default true.
  • pausesbooleanShorten pauses. Default true.
  • pause_msnumberPauses longer than this are shortened. Default 900.
  • keep_msnumberHow much of each pause is kept. Default 300.
  • alonebooleanOnly the clip, not its linked sound.
  • canvasstringA canvas's id or name, shown first. Default: the canvas shown.

Result

  • removed_msnumberTime removed.
  • ranges[number, number][]The ranges cut, in the file.

Errors

A state error (-32005) when it isn't transcribed yet. A state error (-32005) when no Editor project is open, or the open one is read-only because a newer Lightair made it. Invalid params (-32602) for a clip id that can't be read; not found (-32004) for a clip that isn't on the canvas.

Events

Subscribers to events get editor.changed.

From an AI agent

The MCP server's editor_words (action: tighten) reaches this method.

Example

ws://localhost:4455/rpc
{
"jsonrpc": "2.0",
"id": 1,
"method": "editor.words.tighten",
"params": {}
}

editor.words.cut