Revoke access to a Drive file
unshare_gdrive_itemTake away one person's access. Get the permissionId from list_gdrive_permissions. The owner's own permission cannot be removed.
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": {
"mailbox": "<mailbox>",
"itemId": "<itemId>",
"permissionId": "<permissionId>"
},
"name": "unshare_gdrive_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemId | Yes | ||
| mailbox | Yes | Email address of the connected Gmail/Google Workspace mailbox to act on. Call list_authorized_mailboxes to see available options. | |
| permissionId | Yes |