Invite to share
drive_share_inviteInvite a person to a Proton Drive file or folder by email; sends a notification and assigns viewer, editor, or admin roles. Requires prior status check and user confirmation to avoid overwriting.
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. Requires confirmed=true after explicit user approval.
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 | Must be true; only after the user approved this exact action. |