share_file
Grant access to a specific file by providing the recipient's email, role (reader, writer, commenter, owner), and optional message to send a sharing email.
Instructions
Share a file with another user
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": {
"fileId": "<fileId>",
"email": "<email>",
"role": "<role>"
},
"name": "share_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | ID of the file to share | |
| Yes | Email address to share with | ||
| role | Yes | Role for the user | |
| message | No | Message to include in sharing email |