tiktok.download_video
Download a TikTok video so the user or agent can save and reuse it. Provide either video_id or video_url, not both. The file is saved to account file storage. The response includes file_url for API users and download_code for agents to run vee3-get-file. Cost = 10 tokens.
This record as markdown: /tools/io-github-vee3io-vee3/tiktok.download-video.md
What tiktok.download_video does on Vee3
AI agents use tiktok.download_video to create or update resources in Vee3, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Vee3 environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
quality | string | — | Video quality to download. 'standard' is default quality; 'hd' is high definition. Only one selected quality is downloaded. |
video_id | object | — | TikTok video id. |
file_name | object | — | Optional account-relative storage path for the video. If omitted, the file is stored under downloads/ with a generated name. |
video_url | object | — | TikTok video URL. |
Parameters from the server's own tool schema.
Why tiktok.download_video is rated Medium
Downloads and saves TikTok video to storage, creating a new file reversibly.
From the tool's definition file is saved to account file storage
Attacks that exploit this kind of access
The rule that runs tiktok.download_video safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Vee3, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For tiktok.download_video, this is the rule to start with:
tiktok.download_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 Vee3, apply this rule, and every tiktok.download_video call is checked against it from then on.
Questions about tiktok.download_video
Download a TikTok video so the user or agent can save and reuse it. Provide either video_id or video_url, not both. The file is saved to account file storage. The response includes file_url for API users and download_code for agents to run vee3-get-file. Cost = 10 tokens. It is categorised as a Write tool in the Vee3 MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
tiktok.download_video accepts 4 parameters: quality, video_id, file_name, video_url. The full parameter table on this page comes from the server's own tool schema.
Register the Vee3 MCP server in PolicyLayer and add a rule for tiktok.download_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 Vee3. Nothing to install.
tiktok.download_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 tiktok.download_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 tiktok.download_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.
tiktok.download_video is provided by the Vee3 MCP server (https://mcp.vee3.io/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Vee3, and thousands of servers like it.
This server
Across the catalogue