Google_drive
v0.2.1Google Drive MCP Pack
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
drive_list_files
List files in your Google Drive. Optionally filter by name, type, owner, or modified date (e.g., 'name contains "report"'). Returns file names, IDs, types, and metadata.
| Parameter | Type | Description |
|---|---|---|
order_by | string | Sort order (e.g., "modifiedTime desc", "name") |
page_size | number | Maximum number of files to return (default 10, max 100) |
page_token | string | Token for fetching the next page of results |
q | string | Drive search query (e.g., "name contains 'report'" or "mimeType='application/pdf'") |
drive_get_file
Get metadata for a specific Drive file by ID. Returns name, type, size, owners, permissions, creation date, and last modified time.
| Parameter | Type | Description |
|---|---|---|
file_id * | string | The ID of the file to retrieve |
fields | string | Comma-separated list of fields to include (default: id,name,mimeType,size,createdTime,modifiedTime,owners,webViewLink) |
drive_get_content
Download file content from Drive. Export Google Docs/Sheets/Slides to PDF, Word, Excel, etc., or retrieve raw content from other files.
| Parameter | Type | Description |
|---|---|---|
file_id * | string | The ID of the file to download |
export_mime_type | string | MIME type to export Google Workspace files to (e.g., "text/plain", "application/pdf", "text/csv"). Required for Google Docs/Sheets/Slides. |
drive_create_file
Create a new file in Drive with specified name, content, and type (e.g., 'text/plain', 'application/pdf'). Returns the file ID for future reference.
| Parameter | Type | Description |
|---|---|---|
content * | string | Text content of the file |
mime_type * | string | MIME type of the file (e.g., "text/plain", "application/json", "text/html") |
name * | string | Name for the new file |
parent_folder_id | string | ID of the parent folder (optional, defaults to root) |
drive_search
Search Drive files by name, type, owner, modified date, or full text using query operators (e.g., 'name contains "report"', 'mimeType = application/pdf'). Returns matching files and IDs.
| Parameter | Type | Description |
|---|---|---|
query * | string | Drive search query (e.g., "fullText contains 'quarterly report'" or "modifiedTime > '2024-01-01'") |
page_size | number | Maximum number of results (default 10, max 100) |