Drive Upload
drive_uploadUpload a local file to Google Drive with an optional target folder; returns the created file ID so you can reference it in later steps.
Instructions
Upload a local file to Drive. Requires user confirmation before calling.
If folder_id is omitted, uploads to the configured default parent folder.
Returns dict with key: id (created Drive file ID).
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": "<name>"
},
"name": "drive_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| folder_id | No | ||
| local_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||