Invite to share
drive_share_inviteInvite someone by email to a Proton Drive file or folder and assign viewer, editor, or admin access; verify sharing status first to avoid overwriting an existing role.
Instructions
Invite a person to a Proton Drive file or folder by email. Immediately sends an email notification — confirm the address and role with the user first. Roles: 'viewer' (read-only), 'editor' (read + write), 'admin' (read + write + reshare). Run drive_share_status first: a duplicate invitation may silently overwrite the existing role. The server asks the user to approve this itself.
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": {
"path": "<path>",
"email": "<email>",
"role": "<role>"
},
"name": "drive_share_invite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute remote Drive path to share (must start with '/'). | |
| role | Yes | 'viewer' = read-only, 'editor' = read + write, 'admin' = read + write + reshare. | |
| Yes | Email address of the person to invite. | ||
| message | No | Optional message included in the invitation email (max 500 characters — Proton rejects longer ones). | |
| confirmed | No | Optional and ignored: the server asks the user to approve this itself. You do not need to send it. |