drive_upload_file
Upload a local file to Google Drive. Supports any file type with optional custom name and folder.
Instructions
Upload a local file (binary or text) to Google Drive. Supports any file type.
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": {
"localPath": "<localPath>"
},
"name": "drive_upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name for the file in Drive (defaults to local filename) | |
| mimeType | No | MIME type (auto-detected from extension if omitted) | |
| parentId | No | Parent folder ID (defaults to root) | |
| localPath | Yes | Absolute path to the local file to upload |