list_related_videos_and_playlists
Discover related YouTube videos and playlists for any video, with pagination support to browse additional content beyond initial results.
Instructions
This endpoint lists related videos and playlists of a YouTube video. Pagination scraping is supported. It's recommended to get the first page by calling Video \u003e Get Video Details, and then get subsequent pages here.
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": "list_related_videos_and_playlists"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| videoId | No | YouTube video id. The value of v in YouTube player URL query parameters. | |
| lang | No | Language code (IETF language tag) for localized results. Defaults to en-US. Unsupported code will fallback to en-US. | |
| nextToken | No | A string for getting the next page of data. If not specified, the first page of data will be returned. If specified, videoId will be ignored. |