set_video_visibility
Change a YouTube video's visibility to public, unlisted, private, or scheduled, and set a required publish time for scheduled videos.
Instructions
Change a video's visibility.
Args: video_id: The YouTube video id. visibility: One of 'public', 'unlisted', 'private', 'scheduled'. publish_at: ISO-8601 datetime; required for 'scheduled'.
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>",
"visibility": "<visibility>"
},
"name": "set_video_visibility"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| video_id | Yes | ||
| publish_at | No | ||
| visibility | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |