search_youtube
Search YouTube for videos, channels, or playlists using queries with filters, exclusions, and pagination. Retrieve raw API results to locate specific content.
Instructions
Searches YouTube for videos, channels, or playlists using a query term, returning the raw API response.
Args: q: Search query term. Supports: basic text ('machine learning'), exact phrases ('"exact phrase"'), exclusions ('python -snake'), multiple terms ('AI OR ML'), channel search ('@channelhandle' or channel name). max_results: Maximum number of items to return per page (0-50). Default: 5. page_token: Pagination token from a previous response's nextPageToken or prevPageToken. part: Comma-separated list of search resource properties (e.g. 'id', 'snippet') to include. type: Restrict search to 'video', 'channel', or 'playlist'; comma-separate for multiple.
Returns: Object with 'data' (raw API response), 'error' (if any), and 'successful' boolean.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | ||
| part | No | ||
| type | No | ||
| page_token | No | ||
| max_results | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||