rank_videos_by_topic
Find the videos that talk about something the most, ranked by how many sentences mention it. Better than searching titles when you want the videos that really go deep on a topic. Each result has the number of mentions, the first mention and a link. Read the best ones with get_youtube_transcript or find_in_transcript. Same library, caption quirks and dates as search_spoken_words.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "rank_videos_by_topic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many videos. Default 10. | |
| query | Yes | A word or short phrase (up to 8 words). | |
| since | No | Only captions captured on or after this date, YYYY-MM-DD. | |
| until | No | Only captions captured on or before this date, YYYY-MM-DD. | |
| channel | No | Only this channel: a channel ID (UC...) or part of the channel name. | |
| also_match | No | Other spellings or mis-hearings to count as the same thing. Up to 5. |