Get Google Drive file
Tool ID: googledrive_file_get
Summary
Fetches metadata and browser links for one file or folder by its Drive id. Read-only. Does not download the file’s binary contents.
When to use it
- Inspect one item — After browse or search, get fuller details (description, checksum, shortcut target when present).
- Confirm before create nearby — Verify a folder id before creating a Doc or Sheet in it.
- Share a link — Pull
web_view_linkfor a known id.
What you need
| Requirement | Required? |
|---|---|
| Metraclick connection | Yes |
| Tool enabled for your account | Yes |
| Google Drive credentials | Yes |
Parameters
| Parameter | Required? | Description |
|---|---|---|
file_id |
Yes | Google Drive file or folder id. |
What you get back
A single file object, including:
| Field | Meaning |
|---|---|
id, name |
Identity |
mime_type, is_folder |
Type |
web_view_link, web_content_link |
Open / download links when Google provides them |
owners, parents, shared |
Ownership and location hints |
created_time, modified_time, size |
Timing and size |
description, md5_checksum, shortcut fields |
Extra detail when available |
Example prompts
Get details for Drive file id 1AbC… and show me the open link.
After searching for the brand guidelines Doc, open its full metadata.
Confirm this folder id exists and tell me its name before we create a Sheet there.
Tips
- Metadata only — This tool does not export Doc/Sheet content as text or download binaries. Use the web link to open the file in Google.
- Ids from browse/search — Copy
idfrom a previous listing; do not invent ids.