Reference
Remy Reference/agent/fetchYoutubeComments
?

fetchYoutubeComments

Retrieve comments for a YouTube video.
mindstudio.fetchYoutubeComments({ videoUrl, exportType, limitPages }) → Result

Retrieve comments for a YouTube video.

Parameters
videoUrl
string
RequiredYouTube video URL to fetch comments for
exportType
string
RequiredOutput format: "text" for markdown-formatted text, "json" for structured comment data
textjson
limitPages
string
RequiredMaximum number of comment pages to fetch (1-5)
Call from a method
import { mindstudio } from '@mindstudio-ai/agent';

const result = await mindstudio.fetchYoutubeComments({
  videoUrl: /* ... */,
  exportType: /* ... */,
  limitPages: /* ... */
});