validate_attachment
Check an email attachment against local safety policies for size, MIME type, extension, and filename before processing.
Instructions
Validate one attachment against local safety policy (size, MIME type, extension, filename).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| messageId | Yes | The Gmail message ID containing the attachment | |
| attachmentId | Yes | The attachment ID from read_email or list_attachments_with_safety |