get_drive_file_permissions
Inspect a Drive file's sharing permissions and public-link status to audit access before external sharing.
Instructions
Inspect a Drive file's sharing permissions and public-link status.
Use this to audit who can access a file before sharing externally. To change sharing use set_drive_file_permissions or manage_drive_access. For a quick public-vs-private check by filename use check_drive_file_public_access. Requires the drive.readonly OAuth scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_google_email | Yes | The user's Google email address (authenticated account). | |
| file_id | Yes | Drive file ID from search_drive_files or a shareable URL. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |