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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "drive_sharing"
}
}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). |