share_drive_file_tool
Share Google Drive files or folders with specific users by setting permission roles and optionally sending email notifications.
Instructions
Share a file or folder with a user.
Args: user_google_email: The user's Google email address file_id: The file or folder ID to share email: Email address of the user to share with role: Permission role - "reader", "writer", "commenter", or "owner" send_notification: Whether to send an email notification (default: True)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"user_google_email": "<user_google_email>",
"file_id": "<file_id>",
"email": "<email>"
},
"name": "share_drive_file_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_google_email | Yes | ||
| file_id | Yes | ||
| Yes | |||
| role | No | reader | |
| send_notification | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |