publish_to_youtube
Publish an existing video from a transcribe or summarize job to YouTube, storing the caller-supplied OAuth token. Price: Free. The upload starts automatically — once payment settles, if a price applies — with no separate trigger step. Captions are auto-generated from the session transcript if available. Poll get_job_status to track progress; it returns the YouTube URL when the job completes. Requires a YouTube OAuth2 access token obtained independently via Google OAuth (scope: youtube.upload).
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": {
"session_token": "<session_token>",
"access_token": "<access_token>",
"source_job_id": "<source_job_id>",
"title": "<title>",
"visibility": "<visibility>"
},
"name": "publish_to_youtube"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | YouTube video title (max 100 characters) | |
| visibility | Yes | YouTube video visibility: "private" (default), "unlisted", or "public" | private |
| description | No | YouTube video description (max 5000 characters) | |
| access_token | Yes | YouTube OAuth2 access token — the caller is responsible for obtaining this via Google OAuth | |
| refresh_token | No | YouTube OAuth2 refresh token — if provided, the Workflow will refresh the access token automatically before uploading | |
| session_token | Yes | Session token from create_session, create_transcript, or create_summary | |
| source_job_id | Yes | Job ID of an existing transcribe or summarize job in this session whose video to publish. The Workflow will auto-generate captions if no transcript is found. |