check_drive_file_public_access
Search a Google Drive file by name and determine if it has public 'Anyone with the link' access, a prerequisite for Google Docs embedding.
Instructions
Search by filename and report whether the file is publicly linked.
Quick helper for Google Docs embedding — a file must have "Anyone with the link" access before insert_doc_image can render it. If multiple files match the name, checks the first. For a specific file use get_drive_file_permissions. 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_name | Yes | Exact display name (case-sensitive) as shown in Drive. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |