Download YouTube comments
download_youtube_commentsStart a background job that collects the comments of one YouTube video, Short, live stream, or community post, or of every item in a playlist or channel. Returns a download ID, not the comments: poll get_youtube_download until the status is final, then get the data with get_youtube_download_file. Not for spoken content (get_youtube_transcript) or channel statistics (get_youtube_channel_details); to reuse an earlier download, find it with list_youtube_downloads. Cost: 1 credit per comment plus 100 per video or post, charged as each ends, partial results included; a playlist or channel download also costs 100 credits to start, charged once its item list is ready. Refused up front when the account is out of credits or past due. Never retried automatically: after an outcome_unknown error, check list_youtube_downloads before calling again. Example: {url: "https://www.youtube.com/@example", contentType: "channel", itemsType: "video"}.
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": {
"url": "<url>",
"contentType": "<contentType>"
},
"name": "download_youtube_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public YouTube URL of the kind named by contentType: a watch, youtu.be, /live/, or /embed/ link (video, live), a /shorts/ link (short), a /post/ link (community), a /playlist?list= link (playlist; a watch link with &list= is rejected), or an /@handle or /channel/ link (channel; /c/ and /user/ links are rejected). https:// is optional. | |
| itemsType | No | Required for playlist and channel, rejected otherwise. Which items to collect: video, short, or community comments; live-comments for comments on past live streams; live-chat for their chat replay. Playlists cannot use community. | |
| contentType | Yes | What the url points to. video, short, live, and community download one item; playlist and channel download every item and require itemsType. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Download ID for get_youtube_download and get_youtube_download_file. | |
| mode | Yes | bulk for playlist and channel downloads, whose file is a ZIP; single otherwise. | |
| status | Yes | created: queued. downloading: collecting comments. finished: done. error: stopped by a failure. canceled: stopped by the user. The last three are final unless the user restarts the download. | |
| contentType | Yes | The requested contentType. | |
| progressUrl | Yes | Web page where the signed-in user can watch progress and download files. |