importComments
Import YouTube video comments into a local knowledge base to enable semantic search and analysis of viewer discussions.
Instructions
Import a video's comments into the local comment knowledge base for semantic search. Fetches comments via the existing comment pipeline and indexes them for searchComments. [~3-10s]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| videoIdOrUrl | Yes | YouTube video URL or ID | |
| collectionId | No | Custom collection ID (default: comments-{videoId}) | |
| maxTopLevel | No | Max top-level comments to fetch | |
| includeReplies | No | Include reply threads (default: true) | |
| maxRepliesPerThread | No | ||
| order | No | ||
| label | No | Human-readable collection label | |
| activateCollection | No | Set as active comment collection (default: true) | |
| dryRun | No |