share_file
Share a file or folder by email, assign a role (reader, commenter, writer, organizer), and optionally notify the recipient.
Instructions
Share a file or folder with someone. Missing in the official connector. Roles: reader (view), commenter, writer (edit), fileOrganizer, organizer, owner. send_notification=false by default (no email sent to recipient).
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": "share_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | reader | |
| Yes | Recipient email | ||
| file_id | Yes | ||
| message | No | Optional message included in notification email (only if send_notification=true) | |
| send_notification | No |