download_attachment
Save a Gmail message attachment to a local file path. Provide message_id, attachment_id, and out; parent folders are created if needed.
Instructions
Download a message attachment to a local file path.
Writes the attachment bytes to out and returns {path, bytes_written}.
Bytes are never returned inline.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| out | Yes | Local file path to write the bytes to; parent dirs are created if missing. | |
| message_id | Yes | ||
| attachment_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||