Upload Drive File
upload_drive_fileUpload text content or local files to Google Drive by providing a file name, optional MIME type, and parent folder; use local paths for binary or large files.
Instructions
Upload a file to Google Drive. Pass content (a text string) for small text files, or local_path (a local filesystem path) for binary/large files.
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": {
"file_name": "<file_name>"
},
"name": "upload_drive_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | No | ||
| file_name | Yes | ||
| mime_type | No | text/plain | |
| local_path | No | ||
| parent_folder_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||