# Hermoso: share_drive_file: Share a Drive · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/workspace/share_drive_file/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Workspace & account](https://hermoso.ai/docs/reference/workspace/) / share_drive_file

# `share_drive_file`

Share a Drive file by link destructive

Area: ACCOUNT ADMIN · [Workspace & account](https://hermoso.ai/docs/reference/workspace/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/reference/).

## 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

`fileId` required `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](https://hermoso.ai/docs/credits/).

## Related tools

- [get_drive_picker_session](https://hermoso.ai/docs/reference/workspace/get_drive_picker_session/) Check a Google Drive picker link
- [get_credit_limits](https://hermoso.ai/docs/reference/workspace/get_credit_limits/) Credit limits
- [create_drive_picker_session](https://hermoso.ai/docs/reference/workspace/create_drive_picker_session/) Get a Google Drive picker link
- [set_credit_limit](https://hermoso.ai/docs/reference/workspace/set_credit_limit/) Set a credit limit
- [list_api_changelog](https://hermoso.ai/docs/reference/workspace/list_api_changelog/) Read Hermoso's API changelog
- [list_activity_logs](https://hermoso.ai/docs/reference/workspace/list_activity_logs/) Read the activity log
- [delete_account_group](https://hermoso.ai/docs/reference/workspace/delete_account_group/) Delete an account group
- [update_account_group](https://hermoso.ai/docs/reference/workspace/update_account_group/) Update an account group
- [create_account_group](https://hermoso.ai/docs/reference/workspace/create_account_group/) Create an account group
- [list_account_groups](https://hermoso.ai/docs/reference/workspace/list_account_groups/) List account groups

[All 143 Workspace & account tools](https://hermoso.ai/docs/reference/workspace/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
