publish_to_youtube
ActiveTool of Weftly
Publish an existing video from a transcribe or summarize job to YouTube. Creates a paid publish job (flat $1.75 price) and stores the OAuth token. Captions are auto-generated from the session transcript if available. Workflow: create_job → pay → trigger_youtube_publish → poll get_youtube_publish_status. Requires a YouTube OAuth2 access token obtained independently via Google OAuth (scope: youtube.upload).
Parameters schema
{
"type": "object",
"required": [
"session_token",
"access_token",
"source_job_id",
"title",
"visibility"
],
"properties": {
"title": {
"type": "string",
"maxLength": 100,
"description": "YouTube video title (max 100 characters)"
},
"visibility": {
"enum": [
"private",
"unlisted",
"public"
],
"type": "string",
"default": "private",
"description": "YouTube video visibility: \"private\" (default), \"unlisted\", or \"public\""
},
"description": {
"type": "string",
"maxLength": 5000,
"description": "YouTube video description (max 5000 characters)"
},
"access_token": {
"type": "string",
"description": "YouTube OAuth2 access token — the caller is responsible for obtaining this via Google OAuth"
},
"refresh_token": {
"type": "string",
"description": "YouTube OAuth2 refresh token — if provided, the Workflow will refresh the access token automatically before uploading"
},
"session_token": {
"type": "string",
"description": "Session token from create_session, create_transcript, or create_summary"
},
"source_job_id": {
"type": "string",
"description": "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."
}
},
"additionalProperties": false
}Parent server
Weftly
https://github.com/woven-record-media/weftly-monorepo
1/7 registries