Upload a large file
start_uploadSend a file that is too large to pass in one call (a long HTML page, a big PDF or deck) without any token in the shell. Returns a one-time upload address and the curl command to run with the file's path. The reply to that command is the link and its settings, the same as send_artifact. HTML, Markdown, PDF, Word, PowerPoint, Excel and images, up to 30 MB. The address works once, for 15 minutes. Takes the same settings as send_artifact, and link to update an existing link.
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": {
"file_name": "<file_name>"
},
"name": "start_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | No | Optional. Update this link instead of making a new one. | |
| allow | No | Only these emails or domains can open it, e.g. ["@sequoiacap.com", "dana@acme.com"]. | |
| title | No | ||
| access | No | public: anyone with the link. email: reader types an email (fake and throwaway addresses are refused). verified: reader proves the email, with Google or a 6-digit email code. | |
| folder | No | Put it in this folder on my Artifacts page, by name. Made if it does not exist. Leave out to keep it outside folders. | |
| notify | No | Email me when someone opens it the first time. Default true. | |
| downloads | No | Readers get a Download button for a PDF, Office file, image or video. Default false. | |
| file_name | Yes | The file name with its extension, e.g. report.html or deck.pptx. | |
| ai_reading | No | What a reader's own AI (Claude, ChatGPT) may take. questions (default): only the parts that answer each question, so I see every question and no full copy leaves. full: the whole text, marked with the reader's email. off: no AI reading. | |
| expires_in_days | No | Close the link after this many days. | |
| discourage_screenshots | No | Blur the page when the reader switches away, block printing and copying, and watermark it with their email. No website can fully stop a screenshot. Default false. |