works_file_upload
Upload a local file to a specified My Drive folder, providing the folder ID and file path. Automates the two-step metadata and PUT request flow.
Instructions
Upload a local file into a My Drive folder (2-step metadata+PUT flow).
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": {
"parent_folder_id": "<parent_folder_id>",
"file_path": "<file_path>"
},
"name": "works_file_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| user | No | ||
| file_path | Yes | ||
| parent_folder_id | Yes |