drive_share_file
Share Google Drive files by creating permissions for users, groups, domains, or anyone. Requires confirmation to safely expose the file.
Instructions
Share a Google Drive file by creating a permission. Requires confirm: true as a safety gate since sharing exposes the file to others.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | Permission role | |
| type | Yes | Permission type | |
| domain | No | Domain (required for domain type) | |
| fileId | Yes | The file ID to share | |
| confirm | No | Set to true to confirm sharing | |
| accountId | Yes | The Google account ID, alias, or email | |
| emailAddress | No | Email address (required for user/group type) | |
| sendNotification | No | Send notification email (default: false) |