drive_share_file
Share a Drive file with any user by email, choosing their access role as reader, writer, or commenter, and optionally send a notification.
Instructions
Share a Drive file. Roles: 'reader', 'writer', 'commenter'.
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": {
"file_id": "<file_id>",
"email": "<email>"
},
"name": "drive_share_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | reader | |
| Yes | |||
| file_id | Yes | ||
| send_notification | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |