update_video_metadata
Modify YouTube video metadata such as title, description, tags, category, and privacy status. Submit only the fields you want to change.
Instructions
Update a video's metadata — title, description, tags, category, or privacy. Only provide fields you want changed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| video_id | Yes | ||
| title | No | ||
| description | No | ||
| tags | No | ||
| category_id | No | YouTube category ID as a string (e.g. '22' = People & Blogs, '27' = Education, '28' = Science & Tech) | |
| privacy_status | No |
Implementation Reference
- src/youtube/client.ts:167-170 (helper)The YouTubeClient.updateVideo() helper method that sends a PUT request to the YouTube Data API /videos endpoint with the constructed patch body.
updateVideo(videoId: string, patch: Partial<Video>): Promise<Video> { const body = { id: videoId, ...patch }; return this.dataPut<Video>("/videos", { part: Object.keys(patch).join(",") }, body); }