get_drive_file
Get a Drive file’s details read-only
Description
Fetch one Drive file’s metadata — name, type, size, modified time, a webViewLink to open it and a webContentLink to download it. Pass fileId (from list_drive_files). Read-only.
Parameters
| Parameter | Type | Description |
|---|---|---|
fileIdrequired | string | the Drive file id (from list_drive_files) |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/get_drive_file.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_drive_file","arguments":{"fileId":"<string>"}}}
CLI
hermoso call get_drive_file --json '{"fileId":"<string>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
list_drive_filesList Google Drive filesupdate_drive_fileRename / move / trash a Drive fileimport_from_cloudImport a Drive / OneDrive folder into the Librarydelete_drive_fileDelete a Drive filecreate_drive_folderCreate a Drive folder