Leave shared item
drive_share_leaveLeave a Proton Drive folder shared with you without affecting the owner or other members; use revoke instead for folders you own.
Instructions
Leave a Proton Drive folder shared with you; the owner and other members are unaffected. For your own folders use drive_share_revoke. 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>"
},
"name": "drive_share_leave"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute remote Drive path of the shared folder to leave (must start with '/'). E.g. /shared-with-me/project | |
| confirmed | No | Optional and ignored: the server asks the user to approve this itself. You do not need to send it. |