get_attachment_upload_url
Get a one-time upload link for a LOCAL file to attach to create_website / edit_website.
MCP cannot carry files, so a local file goes straight from disk to
Grigora's storage with the returned curl command (replace
<LOCAL_FILE_PATH> with the file's path and run it in a shell). The file's
contents never pass through the conversation. Then put the returned url
in the attachments list of create_website or edit_website. The link
expires in 15 minutes; one link per file.
Allowed: images (PNG, JPG, WebP, GIF, AVIF), PDF, CSV (up to 10 MB), and audio/video (up to 80 MB). For a file that is already online, skip this and pass its public URL directly.
Args:
file_name: The file's name, e.g. "brand-guide.pdf" (refer to it by this name in the prompt).
mime_type: e.g. "image/png", "application/pdf", "text/csv", "video/mp4".
size_bytes: The file's exact size in bytes (e.g. from wc -c < FILE).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_name | Yes | ||
| mime_type | Yes | ||
| size_bytes | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |