youtube_upload_video
Upload a workspace-owned video file (file_id) to the connected YouTube channel. Returns video_id + thread_id. Costs 1600 quota units. Default privacy is 'private' — pass privacy='public' to publish.
This record as markdown: /tools/io-github-saloprj-dialogbrain/youtube-upload-video.md
What youtube_upload_video does on Dialogbrain
AI agents use youtube_upload_video to create or update resources in Dialogbrain, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Dialogbrain environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
tags | array | — | Optional list of tag strings (max ~500 chars total). |
title | string | Yes | Video title (max 100 chars). |
file_id | integer | Yes | Workspace `files.id` of the video to upload. Must be a video/* MIME type and `status='ready'`. Get IDs from the [ATTACHMENTS] block, files.search, or search.fil |
privacy | string | — | Privacy status. 'private' (default), 'unlisted', or 'public'. |
category_id | string | — | YouTube category ID (default '22' = People & Blogs). See https://developers.google.com/youtube/v3/docs/videoCategories/list. |
description | string | — | Video description (max 5000 chars). OMIT to upload without a description. |
made_for_kids | boolean | — | COPPA flag. OMIT for the standard (non-kids) default. |
channel_account_id | integer | — | The connected YouTube channel_account.id. OMIT to auto-resolve the workspace's YouTube account. |
Parameters from the server's own tool schema.
Why youtube_upload_video is rated Medium
This tool creates/uploads video content to YouTube, a reversible action. It is categorized as Write rather than Execute because the primary function is data creation (uploading a video asset), not running arbitrary code or commands. While publishing could affect reach, the core operation is content creation.
From the tool's definition Tool name: 'youtube_upload_video'. Description: 'Upload a workspace-owned video file...to the connected YouTube channel' and 'pass privacy=\'public\' to publish.' This creates new content on an external platform.
Attacks that exploit this kind of access
The rule that runs youtube_upload_video safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Dialogbrain, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For youtube_upload_video, this is the rule to start with:
youtube_upload_video stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Dialogbrain, apply this rule, and every youtube_upload_video call is checked against it from then on.
Questions about youtube_upload_video
Upload a workspace-owned video file (file_id) to the connected YouTube channel. Returns video_id + thread_id. Costs 1600 quota units. Default privacy is 'private' — pass privacy='public' to publish. It is categorised as a Write tool in the Dialogbrain MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
youtube_upload_video accepts 8 parameters: tags, title, file_id, privacy, category_id, description, made_for_kids, channel_account_id. Required: title, file_id. The full parameter table on this page comes from the server's own tool schema.
Register the Dialogbrain MCP server in PolicyLayer and add a rule for youtube_upload_video: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Dialogbrain. Nothing to install.
youtube_upload_video is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the youtube_upload_video rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for youtube_upload_video. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
youtube_upload_video is provided by the Dialogbrain MCP server (https://api.dialogbrain.com/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Dialogbrain, and thousands of servers like it.
This server
Across the catalogue