Clear the stored Proton Drive session from the OS keychain to prevent unauthorized access on shared machines. Requires explicit user confirmation; after logout, file operations stop until re-login.
Create or update a public link for a Proton Drive file or folder, setting access role, optional password, and expiration. Anyone with the link can access it without a Proton account.
Retrieve exact folder names exposed by Proton Bridge, including system folders and user labels, so you can supply correct arguments to other mailbox tools.
Remove a Proton label permanently without affecting its messages. Messages stay in other folders or labels, making cleanup safe for content but irreversible for the label.
Check the current sharing status of a Proton Drive file or folder, including accepted members and pending invitations, with roles and share URL. Use before inviting or revoking to avoid duplicates.
Remove all members and pending invitations from a shared Proton Drive path in one call. Confirm the action to revoke access for everyone at once, after checking current access with drive_share_status.
Retrieve all photo album names and photo counts from Proton Photos after authentication, providing the data needed to build album paths for subsequent operations.
Write text content to a file in the local Proton Drive sync folder, creating parent directories. Requires confirmation to overwrite existing files; desktop app must be running for cloud sync.