share_file
Share a file with specific users or make it public by link. Set access levels like reader, writer, or commenter to control permissions.
Instructions
Share a file with users or make it public.
Args: file_id: ID of the file to share email: Email address to share with role: Permission level (reader, writer, commenter) anyone: Make accessible to anyone with link
Returns: File link after sharing
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | reader | |
| No | |||
| anyone | No | ||
| file_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||