Create upload link
create_upload_linkRelay a file of any size up to 100 MB. Save the file to local disk first, call this with its path, then run the returned curl command in your shell to upload it. The download link works as soon as the upload finishes. Requires outbound network access to code.easyllms.com; if curl is blocked, ask the user to allow that domain in their sandbox network settings (on claude.ai: Settings > Capabilities > Code execution).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Local path of the file you saved, e.g. /tmp/report.pdf. Used to build the curl command. | |
| filename | No | Optional name shown to the downloader; defaults to the file name in path. | |
| ttl_hours | No | Hours until the download link expires. Default 24, maximum 168 (7 days). | |
| content_type | No | Optional MIME type; guessed from the extension otherwise. |