upload_drive_file
Upload a local file to Google Drive for any connected Gmail account, with optional folder, filename, and MIME type overrides.
Instructions
Upload a local file to Google Drive.
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": {
"account": "<account>",
"local_path": "<local_path>"
},
"name": "upload_drive_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional filename override in Drive. | |
| account | Yes | Account id. | |
| folder_id | No | Optional parent folder ID. | |
| mime_type | No | Optional MIME type override. | |
| local_path | Yes | Absolute local path to the file to upload. |