# 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`: The `text` field contains up to 100,000 characters, with a `note` if the text was cut.
- `not_viewable`: A `reason` and `note` explain 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.
