# editor.words.tighten

Source: https://docs.lightair.app/developers/remote-api/editor.words.tighten

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

JSON-RPC 2.0 method of Lightair's Remote API (ws://localhost:4455/rpc). Group: Editor. Script plugins need the `project.write` permission.

## Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `clip` | `string` | yes | The clip's id, from editor.timeline.get. |
| `fillers` | `boolean` | no | Cut filler words. Default true. |
| `pauses` | `boolean` | no | Shorten pauses. Default true. |
| `pause_ms` | `number` | no | Pauses longer than this are shortened. Default 900. |
| `keep_ms` | `number` | no | How much of each pause is kept. Default 300. |
| `alone` | `boolean` | no | Only the clip, not its linked sound. |
| `canvas` | `string` | no | A canvas's id or name, shown first. Default: the canvas shown. |

## Result

| Name | Type | Required | Description |
|---|---|---|---|
| `removed_ms` | `number` | no | Time removed. |
| `ranges` | `[number, number][]` | no | 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

- `editor.changed`

## From an AI agent

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

## Related

- [editor.words.cut](https://docs.lightair.app/developers/remote-api/editor.words.cut.md)
