drive_sharing
Read an item's sharing details—who has access, their roles, general access, and the item link—to check permissions without modifying anything.
Instructions
Read an item's sharing (changes nothing): people with access (name, email, role), general access ('Restricted'...) and the item's link and file id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Exact item name in the current location (or in path). | |
| path | No | Folder holding the item ("/A/B" from My Drive, "A/B" relative); default: current. | |
| index | No | Index from the last drive.list / drive.search. | |
| copy_link | No | Also read the link ("Copy link"; it ends up in the phone's clipboard). | |
| occurrence | No | Which item when several share the name (0 = first). |