download-drive-file
Download a file from a Dooray drive by drive ID and file ID, optionally saving it to a local directory or full file path for large files.
Instructions
Download a file from a Dooray drive.
Required:
driveId: The drive ID
fileId: The file ID to download
Optional:
savePath: Local path to save the file. Can be a directory (filename auto-detected) or full file path. Recommended for large files.
Examples:
Save to file: { "driveId": "123", "fileId": "456", "savePath": "/tmp/downloads/" }
Save with name: { "driveId": "123", "fileId": "456", "savePath": "/tmp/myfile.pdf" }
Base64 (small files): { "driveId": "123", "fileId": "456" }
Tip: If you only have a file ID, use get-drive-file-meta first to get the driveId.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | File ID to download | |
| driveId | Yes | Drive ID | |
| savePath | No | Local path to save (directory or full path). Recommended for large files. |