drive upload file
drive_upload_fileUploads a local file from the server's download directory to Google Drive, with optional name, MIME type, and parent folder for agent-driven file storage.
Instructions
Upload a local file from the server's download directory into Drive. Write operation.
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": {
"local_path": "<local_path>"
},
"name": "drive_upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| mime_type | No | ||
| parent_id | No | ||
| local_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||