list_youtube_video_comments
Fetch public comment threads from a YouTube video with pagination. Optionally include replies to view full discussion threads.
Instructions
List comment threads for a YouTube video (public comments).
Notes:
- Uses commentThreads.list (quota cost ~1 per page).
- max_threads is capped to 100 by the API.
Pagination:
- Response returns nextPageToken and next_page_token.
- Pass it back as page_token (or next_page_token) to fetch the next page.
Returns: - items: commentThread[] (includes top-level comment; replies optional) - nextPageToken / next_page_token - quotaEstimate
Common failure: - If comments are disabled, YouTube may return 403 (commentsDisabled).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | No | relevance | |
| video_id | Yes | ||
| page_token | No | ||
| max_threads | No | ||
| text_format | No | plainText | |
| include_replies | No | ||
| next_page_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||