drive_share_set_url
Create or update a public share link for a Proton Drive file or folder, granting access to anyone with the link. Control viewer/editor role, password protection, and expiration.
Instructions
Create or update a public share link for a Proton Drive file or folder. Requires authentication. Anyone with the link can access the item at the given role — no invitation or Proton account required. Calling this again on the same path updates the existing link's role/password/expiration rather than creating a duplicate. Returns {url?, role?, expirationTime?} — the exact shape depends on the CLI/SDK response and fields may be absent. The password, if set, is passed as a CLI argument and will appear in shell history/process list on the machine running this server. Do not use for private sharing with specific people — use drive_share_invite instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute remote Drive path to create a public link for (must start with '/'). | |
| role | No | Access level for anyone with the link. Defaults to 'viewer' if omitted. | |
| password | No | Optional custom password required to access the link. Omit for no password. | |
| expiration | No | Optional expiration date in ISO format, e.g. '2026-06-06'. Omit for no expiration. |