ORromu commited on
Commit
59f19af
·
verified ·
1 Parent(s): 61523d0

Update tool.py

Browse files
Files changed (1) hide show
  1. tool.py +3 -2
tool.py CHANGED
@@ -163,8 +163,9 @@ def extract_video_id(youtube_url: str) -> str | None:
163
  @tool
164
  def get_youtube_transcript(youtube_url: str) -> str:
165
  """Returns the transcript of a YouTube video as plain text.
166
- Use this tool to extract spoken words from videos for Q&A, summarization,
167
- or analysis. This does not include visual or on-screen content.
 
168
  """
169
  video_id = extract_video_id(youtube_url)
170
  if not video_id:
 
163
  @tool
164
  def get_youtube_transcript(youtube_url: str) -> str:
165
  """Returns the transcript of a YouTube video as plain text.
166
+
167
+ Args:
168
+ youtube_url (str): Url of the youtube video. Supports standard and shortened formats like https://www.youtube.com/watch?v=VIDEO_ID and https://youtu
169
  """
170
  video_id = extract_video_id(youtube_url)
171
  if not video_id: