TranscriptLab
v1.0.0Turn YouTube videos and audio or video files into searchable, exportable transcripts.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
transcriptlab_get_transcript Get YouTube transcript
Get a YouTube transcript. Use when the user gives a YouTube link or video ID and wants the transcript. Default engine=captions reads existing YouTube captions; engine=auto tries captions first and falls back to speech-to-text if unavailable; engine=stt is opt-in speech-to-text (slower, billed per audio minute — 1 credit/min standard, 10 credits/min with speaker labels). Never switch to engine=stt or engine=auto silently unless requested: only pass them when the user opts in or asks to transcribe audio. Returns the transcript, or a job id when the request outlives the synchronous window: if a…
| Parameter | Type | Description |
|---|---|---|
url * | string | YouTube video URL or 11-character video ID. |
also | array | Additional formats to include in a JSON response. |
chunks | Split transcript into o200k_base token chunks (true for defaults, or { max_tokens, overlap_tokens }). | |
cleanup | boolean | Strip filler words and stray timestamps from the transcript text. |
diarize | boolean | Label speakers in the transcript. Requires engine=stt or engine=auto; implies tier=premium. |
engine | string | captions (default) reads YouTube caption tracks; auto tries captions first then falls back to stt; stt transcribes audio directly (billed per audio minute). |
format | string | Output format; defaults to json. |
lang | string | Caption language, or optional ISO 639-1 spoken language hint when engine=stt (e.g. 'ar', 'en', 'tr'). Omit to auto-detect (recommended). |
markdown | boolean | Include timestamped Markdown rendering in a JSON response. |
metadata | boolean | Include video metadata when available; defaults to true. |
speakers | string | Rename diarization labels for engine=stt, e.g. "Speaker 1=Host,Speaker 2=Guest". |
tier | string | Speech model tier for engine=stt; normal bills 1 credit/min, premium bills 10 credits/min and supports speaker labels. Defaults to auto. |
translate | string | Translate captions to this language when available. |
type | string | Caption track type; defaults to any. |
transcriptlab_retrieve_transcript Retrieve completed transcript
Read a YouTube transcript that is already published for this account, without starting a new fetch. Use it after transcriptlab_get_job_status reports a job done, or to re-open a variant that was delivered before. For a first request use transcriptlab_get_transcript instead. Pass the same engine/tier/diarize used for the original fetch so the read selects the matching artifact. Reading an already delivered variant is free; a never-before-delivered variant can spend credits like the original request.
| Parameter | Type | Description |
|---|---|---|
url * | string | YouTube video URL or 11-character video ID. |
cleanup | boolean | |
diarize | boolean | Must match the original fetch; implies tier=premium for engine=stt. |
engine | string | Selects the captions or speech-to-text artifact; must match the original fetch. |
format | string | |
lang | string | Caption language, or optional ISO 639-1 spoken language hint when engine=stt (e.g. 'ar', 'en', 'tr'). Omit to auto-detect (recommended). |
metadata | boolean | |
speakers | string | Speaker label renames; must match the original fetch. |
tier | string | Speech tier for engine=stt; must match the original fetch. |
translate | string | Translation target, if requested for the original fetch. |
type | string |
transcriptlab_discover_captions Discover caption tracks
List the caption languages and track types (manual vs generated) available for a YouTube video. Use when the user asks which languages or subtitles a video has, or before transcriptlab_get_transcript when they want a specific language. Free in transcript credits, but subject to the account monthly discovery limit.
| Parameter | Type | Description |
|---|---|---|
url * | string | YouTube video URL or 11-character video ID. |
transcriptlab_search_transcript Search a cached transcript
Search, quote, or slice a transcript already delivered to this account. Use for "find the part where...", keyword or regex lookup, or paginating a long transcript into chunks. It never starts a fetch and never charges transcript credits, so it only works on a video already cached here: deliver it first with transcriptlab_get_transcript if it is not. mode chooses the behavior: keyword matches terms, regex matches a pattern, chunk returns sequential sections.
| Parameter | Type | Description |
|---|---|---|
mode * | string | keyword matches terms, regex matches pattern, chunk returns sequential sections. |
url * | string | YouTube video URL or 11-character video ID. |
case_sensitive | boolean | |
context_chars | integer | |
diarize | boolean | Must match the original fetch; requires engine=stt. |
engine | string | Search the captions artifact by default; engine=stt searches the speech-to-text transcript instead — use it when the video was transcribed with engine=stt. |
flags | string | Optional regular expression flags. |
lang | string | |
max_tokens | integer | |
overlap_snippets | integer | |
pattern | string | Required in regex mode. |
target_tokens | integer | |
terms | array | Required in keyword mode. |
tier | string | Speech tier for engine=stt; must match the tier the transcript was fetched with (auto resolves to whichever artifact exists). |
translate | string | |
type | string |
transcriptlab_get_job_status Check transcript job
Check whether a transcript job from transcriptlab_get_transcript has finished. Use it when that tool returned a job_id instead of a transcript. Returns status only, delivers no transcript, and spends no credits; once it reports done, read the text with transcriptlab_retrieve_transcript.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | Job id returned by transcriptlab_get_transcript. |
transcriptlab_get_usage Check TranscriptLab usage
Read the account plan, remaining credits, and current-period usage, plus upgrade options. Use when the user asks about cost, balance, or limits, or before a credit-spending request.
transcriptlab_create_checkout_link Create a checkout link to add credits
Create a hosted Dodo checkout link bound to the user's connected TranscriptLab account (no website sign-in required). Use when the user runs out of credits (insufficient_credits), asks to upgrade, or wants to buy more credits. Choose starter ($3.99/mo for 1,000 monthly credits) or credit_pack ($4.99 one-time for 1,000 non-expiring credits). Always show the returned checkout_url verbatim as a clickable link.
| Parameter | Type | Description |
|---|---|---|
offer * | string | starter ($3.99/mo for 1,000 monthly credits) or credit_pack ($4.99 one-time for 1,000 non-expiring credits). |
transcriptlab_list_transcripts List transcript library
List YouTube videos whose transcripts were already delivered to this account, most recent first. Use it to find or reopen an earlier transcript. It fetches nothing and delivers no transcript. When more results exist, page with the returned cursor.
| Parameter | Type | Description |
|---|---|---|
cursor | string | Opaque cursor returned by the previous page. |
limit | integer | Page size; defaults to the server default. |
search | string | Optional video ID or title filter. |
transcriptlab_mentions Transcript library
Composer at-mention search over the account’s transcript library, used to build the @TranscriptLab picker. App-facing only: the host calls it, it returns resource links rather than transcript text, and the model should not call it.
| Parameter | Type | Description |
|---|---|---|
query | string | Typeahead text; may be empty. |
transcriptlab_open_audio Transcribe an audio file
Entry point the host invokes when the user opens an audio or video file with this plugin: opens the uploader view and starts speech-to-text. You do not call this directly; for a file attached to the conversation use transcriptlab_transcribe_file.
| Parameter | Type | Description |
|---|---|---|
file * | object | Host-provided handle for the opened file. |
diarize | boolean | Label speakers; defaults to false. Implies tier=premium and 10 credits per audio minute. |
transcriptlab_begin_audio_upload Begin audio upload
Create a signed direct-upload session for an opened audio file. App-facing only: the uploader view calls it, not the model.
| Parameter | Type | Description |
|---|---|---|
bytes * | integer | |
content_type * | string | Media MIME type. |
name * | string |
transcriptlab_start_audio_transcription Transcribe uploaded audio
Finalize a signed upload and start speech-to-text on it. App-facing only: the uploader view calls it once the file is uploaded. Spends credits per audio minute.
| Parameter | Type | Description |
|---|---|---|
upload_id * | string | |
diarize | boolean | Label speakers; defaults to false. Implies tier=premium. |
lang | string | Optional ISO 639-1 spoken language hint (e.g. "ar", "en", "es"); omit or "auto" to auto-detect. |
tier | string | Speech model tier; defaults to auto (normal when available). |
transcriptlab_read_audio_transcript Read uploaded-audio transcript
Read the transcript of a file uploaded through the uploader view. A pending transcription reports 202; retry shortly. App-facing only.
| Parameter | Type | Description |
|---|---|---|
upload_id * | string | |
diarize | boolean | |
format | string | |
lang | string | |
tier | string |
transcriptlab_open Open TranscriptLab
Open the TranscriptLab launcher view, where the user can work with transcripts visually and send one into the chat with "Discuss in chat". Use tab "upload" when a file needs the uploader: the user wants to pick a local audio or video file, the attached file is too large or could not be read by transcriptlab_transcribe_file, or that upload failed. Use "library" to reopen earlier transcripts, and "link" (the default) to paste a YouTube, podcast, or media link. Also offer it when the user wants a transcript but has given no link or file.
| Parameter | Type | Description |
|---|---|---|
tab | string | Which launcher tab to show first; defaults to link. |
transcriptlab_transcribe_file Transcribe an attached audio or video file
Transcribe an audio or video file the user attached to this conversation, using speech-to-text (mp3, m4a, wav, mp4, webm and similar). Use it for an attached media file; YouTube links use transcriptlab_get_transcript instead. Spends credits per audio minute. Attachments up to 300 MB work here; larger files (up to 2 GB) use the launcher upload view. Stores the file, starts transcription, and returns an upload_id: poll transcriptlab_get_speech_transcript with it, waiting a few seconds between tries and stopping after about ten. Do not call this again for the same file. If it fails or the file is…
| Parameter | Type | Description |
|---|---|---|
file * | object | The attached media file. |
diarize | boolean | Label speakers; defaults to false. Implies tier=premium. |
lang | string | Optional ISO 639-1 spoken language hint (e.g. "ar", "en", "es"); omit or "auto" to auto-detect. |
tier | string | Speech model tier; defaults to auto (normal when available). |
transcriptlab_transcribe_media_url Transcribe a podcast or media link
Transcribe a public podcast or media link. Use it for Apple Podcasts, Spotify, TikTok, Instagram Reel/Post, RSS feed links, and direct audio/video URLs (ending in .mp3, .m4a, .wav, .mp4, .webm and similar); YouTube links use transcriptlab_get_transcript. Podcasts, Instagram and media files are transcribed with speech-to-text (billed per audio minute). TikTok links read their built-in captions only (1 credit); if a TikTok has none, tell the user and ask before retrying with engine=stt — never switch to speech-to-text silently. Returns a media_id: poll transcriptlab_get_speech_transcript with…
| Parameter | Type | Description |
|---|---|---|
url * | string | Public https URL of a podcast episode/show, RSS feed, TikTok video, Instagram Reel/Post, or audio/video file. |
chunks | Split transcript into o200k_base token chunks (true for defaults, or { max_tokens, overlap_tokens }). | |
diarize | boolean | Label speakers; defaults to false. Implies tier=premium. |
engine | string | TikTok links default to captions (built-in captions only, never speech-to-text); other links default to stt, as they have no captions. Pass stt or auto (captions; speech-to-text when they are confirme… |
lang | string | Optional ISO 639-1 spoken language hint (e.g. "ar", "en", "es"); omit or "auto" to auto-detect. |
markdown | boolean | Include timestamped Markdown rendering on cached/completed JSON responses. |
tier | string | Speech model tier; defaults to auto (normal when available). |
transcriptlab_get_speech_transcript Read a speech-to-text transcript
Read the speech-to-text transcript started by transcriptlab_transcribe_file (pass upload_id) or transcriptlab_transcribe_media_url (pass media_id). Pass exactly one id. While transcription runs it returns a pending result: wait a few seconds, back off, and stop after about ten tries; if it is still pending, tell the user the job is queued instead of looping. Pass the same lang, tier, and diarize selectors used when starting transcription so the read selects the matching artifact. Reading does not start new work. Upload reads and reads by the producing account are free; media transcript reads b…
| Parameter | Type | Description |
|---|---|---|
diarize | boolean | Must match the original transcription; implies the premium artifact. |
engine | string | Media reads only: must match the engine passed to transcriptlab_transcribe_media_url, if any; defaults to auto. |
format | string | Defaults to json. |
lang | string | Must match the lang hint passed when starting transcription, if any. |
media_id | string | From transcriptlab_transcribe_media_url. |
tier | string | Must match the tier passed when starting transcription, if any. |
upload_id | string | From transcriptlab_transcribe_file. |
transcriptlab_export_link Create a download link
Create a 10-minute signed download link (TXT, SRT, VTT, Markdown, or JSON) for a transcript the account already has, or for a transcribed upload. Call this when the user wants a file or a link to a file: hand them the returned url and say it expires in 10 minutes. Needs a signed-in connection. The launcher Download action calls it too, so a host that cannot start a download itself still gives the user the link.
| Parameter | Type | Description |
|---|---|---|
diarize | boolean | Must match the original fetch; requires engine=stt. |
engine | string | Download the speech-to-text transcript for a video fetched with engine=stt. |
format | string | |
lang | string | |
tier | string | Speech tier for engine=stt; auto resolves to whichever artifact exists. |
upload_id | string | Upload id of a transcribed file. |
url | string | YouTube video URL or 11-character video ID. |
transcriptlab_submit_batch Submit a batch transcript job
Queue a list of YouTube URLs as one batch job and return its job id. App-facing only. The plan caps how many URLs one job accepts.
| Parameter | Type | Description |
|---|---|---|
urls * | array | YouTube URLs to transcribe. |
transcriptlab_transcribe_playlist List or transcribe a YouTube playlist
List a YouTube playlist's videos, or list and transcribe all of them, as one asynchronous job. Use when the user gives a playlist link or id and wants its videos or their transcripts — e.g. "summarize every video in this playlist". mode="list" (default) collects video metadata only, free beyond the listing credit; mode="transcribe" also transcribes each listed video, billed per delivered transcript variant with the same first-delivery-free rule as transcriptlab_get_transcript. Transcription is capped at 250 videos per job; with multiple playlists the effective per-playlist limit is reduced t…
| Parameter | Type | Description |
|---|---|---|
playlist * | array | One or more playlist URLs (e.g. https://www.youtube.com/playlist?list=..., or any YouTube URL carrying ?list=) or bare playlist ids. |
lang | string | Caption language for mode=transcribe. Omit it to get each video's own language. |
max_videos | integer | How many newest videos to list per playlist; defaults to 100. Plan limits apply. In transcribe mode the effective per-playlist limit is reduced when multiple playlists would exceed 250 videos total. |
mode | string | list (default) collects metadata only; transcribe also fetches a transcript for each video. |
translate | string | Translate captions to this language when available (mode=transcribe only). |
type | string | Caption track type for mode=transcribe; defaults to any. |
transcriptlab_list_job_items List job items
Return per-video results for a batch, channel or playlist job. Page with the returned cursor.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | |
cursor | string | |
limit | integer |
transcriptlab_list_monitors List channel monitors
List all configured channel/profile monitors on this account (Starter/Pro plan required).
transcriptlab_get_new_videos Get new monitor videos
Read newly discovered videos (and optional transcripts) recorded by a channel monitor. Pass since from latest_cursor to poll incrementally.
| Parameter | Type | Description |
|---|---|---|
monitor_id * | string | Monitor ID (mon_...). |
limit | integer | Maximum events to return (default 20, max 100). |
since | integer | Event cursor ID (or Unix timestamp) to read events after. |
transcriptlab_create_monitor Create channel monitor
Watch a YouTube channel or TikTok/Instagram profile for new videos (Starter/Pro plan required). Monitor checks cost 0 credits; only newly transcribed videos when transcripts=true bill credits.
| Parameter | Type | Description |
|---|---|---|
url * | string | Channel/profile URL, @handle, or UC... channel ID. |
chunks | Split transcript into o200k_base token chunks (true for defaults, or { max_tokens, overlap_tokens }). | |
interval_minutes | integer | Polling interval in minutes (15, 60, 360, or 1440; defaults to 60). |
markdown | boolean | Include Markdown rendering on transcribed monitor events. |
mode | string | Transcript engine when transcripts=true; defaults to captions (built-in captions only, never speech-to-text). audio transcribes every new upload with speech-to-text and auto falls back to it when capt… |
platform | string | Optional platform hint for bare handles. |
seed_latest | boolean | Seed last_seen_video_id with the latest existing video so historical uploads do not trigger events; defaults to true. |
tab | string | YouTube channel tab; defaults to videos. |
transcripts | boolean | Automatically transcribe newly detected videos (billed per delivered video); defaults to false. |
webhook_url | string | Optional HTTPS webhook URL signed with X-TranscriptLab-Signature. |
transcriptlab_check_monitor_now Check monitor now
Queue an immediate background check on a channel monitor. Returns right away; poll transcriptlab_get_new_videos with your saved latest_cursor for newly discovered videos after 20-30s. Costs 0 credits unless transcripts=true delivers new transcripts.
| Parameter | Type | Description |
|---|---|---|
monitor_id * | string | Monitor ID (mon_...). |
transcriptlab_delete_monitor Delete channel monitor
Delete a channel monitor and its recorded event history.
| Parameter | Type | Description |
|---|---|---|
monitor_id * | string | Monitor ID (mon_...). |