Publish video to YouTube
grok_publish_youtubeUpload a finished render to the workspace's connected YouTube channel (Data API v3). This is a REAL outbound publish — visibility defaults to private; use unlisted or public deliberately. Requires the channel to be connected in admin → Grok Boost first.
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": {
"title": "<title>"
},
"name": "grok_publish_youtube"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Up to 30 tags. | |
| title | Yes | Video title (max 100 chars). | |
| render_id | No | video_renders id (uuid) from grok_generate_video — or pass video_path. | |
| video_path | No | video-renders storage path under this owner, alternative to render_id. | |
| visibility | No | Default private. | |
| description | No | YouTube description text. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| url | No | ||
| error | No | Present only when ok is false. | |
| video_id | No |