upload_file
Creates a new Google Drive file from a local file up to 100 MB, optionally converting documents or spreadsheets, with a default mcp_default folder.
Instructions
Create a new Drive file from a local file (up to 100 MB); this reads the given local file. Defaults to the app-created mcp_default folder at the My Drive root. Writes touch only files the app creates. Use update_file to change a file already uploaded.
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": {
"path": "<path>"
},
"name": "upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Drive file name; defaults to the local file name | |
| path | Yes | Absolute local path (~ is expanded); relative paths are rejected; the file to upload | |
| convert | No | Convert .md/.txt/.docx to a Google Doc, .csv/.xlsx to a Google Sheet | |
| folder_id | No | Parent folder ID; defaults to mcp_default |