share_drive_file
Share a Drive file by link destructive
Description
Make a Google Drive file readable by ANYONE who has its link (view and download, not edit) and return the link; remove:true takes that access away. Sharing publishes the file: call once without confirm, tell the user, then call again with confirm:true. A file already shared just returns its link. Read back from Drive. Free.
Parameters
| Parameter | Type | Description |
|---|---|---|
fileIdrequired | string | |
remove | boolean | |
confirm | boolean | true only after the user agreed |
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/share_drive_file.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"share_drive_file","arguments":{"fileId":"<string>"}}}
CLI
hermoso call share_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
get_drive_picker_sessionCheck a Google Drive picker linkget_credit_limitsCredit limitscreate_drive_picker_sessionGet a Google Drive picker linkset_credit_limitSet a credit limitlist_api_changelogRead Hermoso's API changeloglist_activity_logsRead the activity logdelete_account_groupDelete an account groupupdate_account_groupUpdate an account groupcreate_account_groupCreate an account grouplist_account_groupsList account groups