Extract a clean transcript
extract_transcriptConverts caption files into readable transcripts by stripping tags, removing rolling duplicate lines, splitting paragraphs on pauses, and optionally adding timestamps for show notes, blog posts, or LLM input.
Instructions
Turn captions into a readable transcript: tags stripped, rolling duplicate lines from auto-generated captions removed, paragraphs split on pauses, optional [HH:MM:SS] timestamps per paragraph and speaker-label removal. Useful for show notes, blog posts, chapter markers or feeding the text to an LLM.
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": "extract_transcript"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Local caption file (.srt, .vtt, .ass/.ssa, .json). ~ is expanded. | |
| format | No | Input format. Detected automatically when omitted. | |
| content | No | Caption text, if you don't have a file. | |
| overwrite | No | Allow replacing an existing file. | |
| timestamps | No | ||
| output_path | No | Write the result here. Format follows the extension unless `to` is set. Omit to get the text back inline. | |
| paragraph_gap_ms | No | Start a new paragraph after a pause this long. | |
| strip_speaker_tags | No |