upload_youtube_video
Upload a video to a connected YouTube channel (resumable upload in 8 MiB pieces, any size; a call works ~45 s and returns status 'uploading' + upload_id — call again with upload_id until status 'done'; also resumes after an abort). Source: a video library entry (library_slug + language de|en), a document (document_id) or an https URL. Privacy is ALWAYS private or unlisted; going public needs update_youtube_video {privacy:'public'} and a human approval. With a library source the YouTube link is stored on the library entry. Note: Google keeps uploads of an unverified API project private until it passed the YouTube API audit — the answer says which privacy YouTube actually set.
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": "upload_youtube_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | https URL of an MP4 | |
| tags | No | Tags (keywords) | |
| title | No | max 100 characters; default: library title | |
| privacy | No | default private. Public only via update_youtube_video with human approval. | |
| captions | No | library source: also upload its subtitles (default true) | |
| language | No | Language code (e.g. de, en) | |
| thumbnail | No | library source: set its poster as thumbnail (default true; needs a verified channel) | |
| upload_id | No | continue an unfinished upload (large files are sent in 8 MiB pieces; each call works ~45 s) | |
| channel_id | No | YouTube channel id (UC…) from list_youtube_channels; optional when only one channel is connected | |
| category_id | No | YouTube category, default 28 (Science & Technology) | |
| description | No | max 5000 characters | |
| document_id | No | ID of the document | |
| library_slug | No | Slug of the video library entry to upload (with language) | |
| thumbnail_url | No | https URL of a JPEG/PNG thumbnail (max 2 MB) |