Set video thumbnail
set_thumbnailUpload a custom JPEG/PNG thumbnail for a YouTube video with a preview and approval step before applying it to the channel.
Instructions
Upload a custom thumbnail (JPEG/PNG, max 2 MB, 1280x720 recommended). Two-step: returns a preview and confirmation_token first; call again with the token after the user approves. Requires a verified channel.
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": {
"video_id": "<video_id>",
"image_path": "<image_path>"
},
"name": "set_thumbnail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| video_id | Yes | YouTube video ID (11 characters) or any youtube.com / youtu.be URL. | |
| image_path | Yes | Absolute path to the JPEG or PNG thumbnail. | |
| confirmation_token | No | Token from the preview. Only pass it after the user has explicitly approved the preview. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||