Youtube: Search videos
youtube_searchSearches public YouTube videos. YouTube has no public trending chart; sorting by view count within an upload window (order, published) is the closest equivalent, for a query rather than platform-wide. Supports projection_preset, data_fields, and item_fields for payload reduction.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | No | Sort order: relevance (default), rating, newest, or views | |
| query | Yes | Search query | |
| cursor | No | nextCursor from the previous page. Omit for the first page | |
| published | No | Restrict results to videos uploaded within this window | |
| data_fields | No | Optional. Add top-level data keys on top of the selected projection_preset. | |
| item_fields | No | Optional. Add item keys from data.orderedItems[] on top of the selected projection_preset. | |
| projection_preset | No | Optional. Defaults to "minimal". Use one of: full, minimal, identity, engagement, or content. |