upload-drive-file
Uploads a local file to a specified Dooray drive folder using drive ID, parent folder ID, and absolute file path. Returns the uploaded file ID.
Instructions
Upload a file to a Dooray drive folder.
Required:
driveId: The drive ID
parentId: Parent folder ID to upload the file into
filePath: Absolute path to the file to upload
Example: { "driveId": "123", "parentId": "456", "filePath": "/Users/name/document.pdf" }
Returns: File ID of the uploaded file.
Note: The file must exist at the specified path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| driveId | Yes | Drive ID | |
| filePath | Yes | Absolute path to the file to upload | |
| parentId | Yes | Parent folder ID |