google_drive_share_file
Share a file on Google Drive by specifying the file ID and recipient email. Set access roles (reader, writer, commenter, owner) and optionally include a custom message in the notification email.
Instructions
Share a file with another user
Input Schema
Name | Required | Description | Default |
---|---|---|---|
emailAddress | Yes | Email address of the user to share with | |
fileId | Yes | ID of the file to share | |
message | No | Custom message to include in the notification email | |
role | No | Access role to grant (reader, writer, commenter, owner) | |
sendNotification | No | Whether to send a notification email |
Input Schema (JSON Schema)
{
"properties": {
"emailAddress": {
"description": "Email address of the user to share with",
"type": "string"
},
"fileId": {
"description": "ID of the file to share",
"type": "string"
},
"message": {
"description": "Custom message to include in the notification email",
"type": "string"
},
"role": {
"description": "Access role to grant (reader, writer, commenter, owner)",
"type": "string"
},
"sendNotification": {
"description": "Whether to send a notification email",
"type": "boolean"
}
},
"required": [
"fileId",
"emailAddress"
],
"type": "object"
}