video_details
Retrieve specific details from a YouTube video using its ID, such as snippets, statistics, and content details. Specify which parts to fetch for targeted information.
Instructions
Retrieves specified information parts (e.g., snippet, contentDetails, statistics) for a YouTube video, identified by its id.
Args: id: The YouTube video ID (typically 11 characters) for which to retrieve details. part: Comma-separated list of video resource parts to include. Valid parts: 'snippet', 'contentDetails', 'statistics', 'status', 'player', etc. Default: 'snippet,contentDetails,statistics'.
Returns: Object with 'data' (video resource), 'error' (if any), and 'successful' boolean.
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": {
"id": "<id>"
},
"name": "video_details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| part | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||