View Calendar Attachment
GoogleCalendarViewAttachmentTool · Tools · Connections
Open a file attached to a Google Calendar event using the attachment id listed by calendar_get_event. A PDF or an image (PNG, JPEG, GIF or WebP up to 5 MB) is shown to you in a message right after this call's result; a text file returns its text, cut at 100,000 characters. Anything else, and any file over 50 MB, returns the file's details and says it can't be displayed.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
attachment_id | string | Yes | Attachment ID, from `calendar_get_event`. |
calendar_id | string | No | Calendar ID; `primary` is the account's main calendar. |
event_id | string | Yes | Event ID, from a list or search. |
View Calendar Attachment Tool#
calendar_view_attachment opens a file for the agent to inspect in the conversation.
When to Use#
Open a Drive file listed in calendar_get_event. The Google connection must be able to read both the event and the file. Google Docs, Sheets, Slides and Drawings open as PDF exports.
Parameters#
| Parameter | Type | Required | Description |
|---|---|---|---|
calendar_id |
string | No | Calendar id; defaults to primary |
event_id |
string | Yes | The event id |
attachment_id |
string | Yes | The id from the event’s attachments list |
Returns#
The result includes calendar_id and event_id alongside the file’s details in attachment and one of three view values:
shown: A PDF or an image (PNG, JPEG, GIF or WebP up to 5 MB) follows the tool results in the conversation.text: Thetextfield contains up to 100,000 characters, with anoteif the text was cut.not_viewable: Areasonandnoteexplain why the file cannot be displayed. This includes unsupported formats or files over 50 MB.
Notes#
The selection switch is view_attachment. An export above Google’s 10 MB export limit returns too_large.
Verdalia keeps shown files privately for 7 days without making a Library item or a share link.