upload_file_get_link
utilpeek: Upload a file and get a download link that expires in 24 hours. Returns a public download link to a file you upload, valid for ttl_hours (default 24, the most); every call stores a new copy under a new link. Over HTTP the file may also be the raw request body or a multipart file part. P...
This record as markdown: /tools/dev-tanod-tanod/upload-file-get-link.md
What upload_file_get_link does on Tanod
AI agents use upload_file_get_link to create or update resources in Tanod, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Tanod environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
filename | string | Yes | File name with its extension, such as report.pdf. The extension is not trusted: the type is detected from the bytes. It sets the name in the link. |
ttl_hours | integer | — | Hours the link stays valid, 1-24 (default 24, the most). |
content_base64 | string | Yes | The file, base64 encoded, up to 20 MB decoded. Allowed: PDF, DOCX, XLSX, PPTX, ODT, ODS, ODP, PNG, JPEG, WebP, GIF, TIFF, BMP, MP3, WAV, M4A/MP4 audio, OGG, FLA |
Parameters from the server's own tool schema.
Why upload_file_get_link is rated Medium
An AI agent can call upload_file_get_link faster than any human can review: one bad instruction and it creates or modifies resources in Tanod by the hundred, each call as confident as the last.
Risk signalsAccepts file system path (filename) · Bulk/mass operation — affects multiple targets
Attacks that exploit this kind of access
The rule that runs upload_file_get_link safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Tanod, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For upload_file_get_link, this is the rule to start with:
upload_file_get_link 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 Tanod, apply this rule, and every upload_file_get_link call is checked against it from then on.
Questions about upload_file_get_link
utilpeek: Upload a file and get a download link that expires in 24 hours. Returns a public download link to a file you upload, valid for ttl_hours (default 24, the most); every call stores a new copy under a new link. Over HTTP the file may also be the raw request body or a multipart file part. PDF, Office, ODF, image, audio, CSV, JSON, text and Markdown only, up to 20 MB, detected from the bytes (HTML, SVG, scripts, executables and archives are a 415, not charged). Anyone with the link can download until it expires; Report abuse to support@tanod.dev; links expire within 24 hours. Typically under 1 s. Price: USD 0.005. No free tier. Docs: https://tanod.dev/learn/upload-file-get-link-for-agents.html. It is categorised as a Write tool in the Tanod MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
upload_file_get_link accepts 3 parameters: filename, ttl_hours, content_base64. Required: filename, content_base64. The full parameter table on this page comes from the server's own tool schema.
Register the Tanod MCP server in PolicyLayer and add a rule for upload_file_get_link: 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 Tanod. Nothing to install.
upload_file_get_link 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 upload_file_get_link 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 upload_file_get_link. 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.
upload_file_get_link is provided by the Tanod MCP server (https://tanod.dev/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Tanod, and thousands of servers like it.
This server
Across the catalogue