create_share_link
Create a shareable link for any file in Google Drive, granting access to anyone with the link. Choose permission level: reader, writer, or commenter.
Instructions
Create a shareable link so anyone with the link can access the file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | Permission for anyone with the link: 'reader', 'writer', or 'commenter'. | reader |
| file_id | Yes | The ID of the file to create a share link for. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |