Get top videos
get_top_videosRetrieve channel videos for a date range, ranked by a chosen metric such as views, watch time, subscribers gained, likes, comments, or shares; limit to 200 results.
Instructions
The channel's top videos for a date range, ranked by a metric (max 200). Optional feature.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_top_videos"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preset | No | 'last_7_days', 'last_28_days' (default) or 'last_90_days'. Ignored if dates are given. | last_28_days |
| sort_by | No | views (default), estimatedMinutesWatched, subscribersGained, likes, comments or shares. | views |
| end_date | No | Custom end date YYYY-MM-DD (Pacific Time). | |
| start_date | No | Custom start date YYYY-MM-DD (Pacific Time). | |
| max_results | No | Number of videos (1-200). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||