upload_image_to_drive
Upload images to Google Drive by providing base64-encoded data, then receive file IDs and web links for storage and sharing.
Instructions
Upload an image to Google Drive.
Accepts an image as ImageContent (base64-encoded data with MIME type) and uploads it to Google Drive. Returns the file ID and web link for the uploaded image.
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": {
"image": "<image>",
"name": "<name>"
},
"name": "upload_image_to_drive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | Image content to upload to Google Drive | |
| name | Yes | Name for the image file in Drive (e.g., 'photo.png') | |
| parent_folder_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |