Skip to main content
Glama

upload_file_to_drive

Upload files to Google Drive by converting base64-encoded data into documents, spreadsheets, or other file types with specified names and formats.

Instructions

Upload a file to Google Drive from base64-encoded data.

Accepts file data in base64 format and uploads it to Google Drive. Supports any file type. Returns the file ID and web link.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_dataYesBase64-encoded file data
nameYesName for the file in Drive
mime_typeYesMIME type of the file (e.g., 'application/pdf', 'text/plain')
parent_folder_idNo

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nickweedon/google-docs-mcp-docker'

If you have feedback or need assistance with the MCP directory API, please join our Discord server