summaryrefslogtreecommitdiffhomepage
path: root/packages/tool-youtube-transcript/src/tool.ts
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-06-21 15:02:49 +0900
committerAdam Malczewski <[email protected]>2026-06-21 15:02:49 +0900
commit4ccdfd34c55bee279ce5e190412afd19cfbb5238 (patch)
tree80dc0e1d1474bd4381c1343e97a456e03bf2dda7 /packages/tool-youtube-transcript/src/tool.ts
parentdfb3a61afa545b67b85dbefe6b217affd14c16a7 (diff)
downloaddispatch-4ccdfd34c55bee279ce5e190412afd19cfbb5238.tar.gz
dispatch-4ccdfd34c55bee279ce5e190412afd19cfbb5238.zip
refactor(tool-youtube-transcript): remove .youtube_subtitles_pending file convention
Leaner tool description and queued response — no longer instructs the model to append URLs to a pending file. The tool just returns status, ETA, and URL.
Diffstat (limited to 'packages/tool-youtube-transcript/src/tool.ts')
-rw-r--r--packages/tool-youtube-transcript/src/tool.ts9
1 files changed, 3 insertions, 6 deletions
diff --git a/packages/tool-youtube-transcript/src/tool.ts b/packages/tool-youtube-transcript/src/tool.ts
index 03244d5..189e42c 100644
--- a/packages/tool-youtube-transcript/src/tool.ts
+++ b/packages/tool-youtube-transcript/src/tool.ts
@@ -29,12 +29,9 @@ const DESCRIPTION =
"Fetch the transcript/subtitles for a YouTube video from the local transcriber " +
"service. If the transcript has not been downloaded before, the video will be " +
"queued for processing and the tool will return the estimated time when the " +
- "transcript will be available. When the status is 'queued' or 'processing', " +
- "you MUST append the video URL on a new line to the file .youtube_subtitles_pending " +
- "in the current working directory (create it if it does not exist). Once " +
- "available, the tool returns the full transcript text and timestamped " +
- "segments. Accepted URL formats: youtube.com/watch?v=, youtu.be/, " +
- "youtube.com/embed/, youtube.com/shorts/";
+ "transcript will be available. Once available, the tool returns the full " +
+ "transcript text and timestamped segments. Accepted URL formats: " +
+ "youtube.com/watch?v=, youtu.be/, youtube.com/embed/, youtube.com/shorts/";
/**
* Create the `youtube_transcript` tool. `concurrencySafe: true` — transcript