drive_upload_file
Upload a local file to Google Drive, choosing a folder or name, and optionally convert .docx/.xlsx/.csv/.pptx/.txt files into native Google Docs, Sheets, or Slides.
Instructions
Upload a local file to Drive. Set convert=true to turn .docx/.xlsx/.csv/.pptx/.txt into native Google Docs/Sheets/Slides.
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 | ||
| convert | No | ||
| folderId | No | root | |
| localPath | Yes |