YouTube Shorts Comments
youtube_shorts_commentsRetrieve comments from public YouTube Shorts (≤3 min) by URL, with pagination and optional 24-hour caching; long-form videos are rejected.
Instructions
Comments on a YouTube Short — rejects long-form videos (≤3 min only). Costs 2 credits. Empty results and failures are never charged. Pass cache=true for a free 24h cache hit (default always fresh).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "youtube_shorts_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public YouTube Shorts URL, e.g. https://youtube.com/shorts/ID (≤3 min). Long-form videos return HTTP 422 — use the matching /v1/youtube/… endpoint instead. The URL platform must match this endpoint's platform. Do not pass cross-platform URLs, e.g. YouTube to TikTok, Instagram to Facebook, LinkedIn to X/Twitter, or Pinterest to Rumble. | |
| cache | No | Set true to serve from the 24h response cache (0 credits on hit). Default false — always fetch fresh. | |
| limit | No | Max items to return (default 50, max 500). Flat 2 credits per call. | |
| cursor | No | Pagination cursor. Leave empty for the first page; then pass the nextCursor value returned in the previous response. |