Download File
download_fileDownload a file from a module by providing the module name, file GUID, and original filename. Returns a pre-signed S3 URL valid for one hour.
Instructions
Download a file by module name. Construct the URL from a File/Image field value: field.path = '/s/{guid}/{fileName}'. Returns a pre-signed S3 URL (1hr TTL).
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": {
"moduleName": "<moduleName>",
"guid": "<guid>",
"fileName": "<fileName>"
},
"name": "download_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guid | Yes | Short ID from the file URL | |
| fileName | Yes | Original filename | |
| moduleName | Yes | Module name (resolved to vectorId internally) | |
| workspaceId | No | Workspace ID. Omit if set via env or set_workspace; required in stateless/remote mode. |