Share a file with a short link
drop_filePut a file on the web and get a short snip.link link to it, free. Send text (a note, Markdown, CSV, JSON, code) as content, or any other file (a PDF, a picture, a document) as content_base64, with its file name. The link opens a page that shows the file with a download button and a QR code; the link with the file's extension is the file itself, and file.formats lists its available conversion URLs. Supported pairs, MIME types and fidelity notes are at https://snip.link/convert/formats.json; outputs depend on the file and engine limits. A pending conversion returns 202 with Retry-After. Files are at most 10 MB through this tool; use the REST API for larger files. Use this when the user wants to share, send, publish, host or link to a file, or wants something you wrote available as a link or a QR code. Files shared without an account stay up for 30 days unless the user keeps them with a free account.
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": {
"name": "<name>"
},
"name": "drop_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The file name with its extension, which decides how it is shown: notes.md, prices.csv, photo.png. | |
| title | No | A title for the user's dashboard (signed in only). | |
| content | No | The file's text, for text files. | |
| content_base64 | No | The file's bytes in base64, for anything else. |