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.
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": {
"driveId": "<driveId>",
"parentId": "<parentId>",
"filePath": "<filePath>"
},
"name": "upload-drive-file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| driveId | Yes | Drive ID | |
| filePath | Yes | Absolute path to the file to upload | |
| parentId | Yes | Parent folder ID |