Upload a file from the user's computer
upload_fileUpload a file from the user's computer (files group). Returns a dashboard upload link; uploaded file IDs only become available after the user completes the upload in their browser, so the link should be surfaced to the user before calling get_file_upload with the returned uploadId. The link expires at expiresAt and cannot be re-fetched — call this tool again for a fresh one. Documents already at a public https:// URL can be passed to tools directly without uploading.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | No | One line shown to the user on the upload page, e.g. "Upload the invoice you mentioned". | |
| maxFiles | No | Max files the user may upload on the page (default 20). | |
| environment | Yes | "TEST" = the Test (development) environment, "PRODUCTION" = live. Must match a granted target from get_me (an API key pins one environment). | |
| workspaceId | Yes | Target workspace (ws_...). Must be a granted workspace — get_me lists the accepted values. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Dashboard upload page for the user to open in a browser. | |
| maxFiles | Yes | ||
| uploadId | Yes | Pass to get_file_upload to retrieve the uploaded file ids. | |
| expiresAt | Yes | When the upload link stops accepting uploads. |