download_attachment
Generate a direct download URL for an email attachment using its blob ID. Returns a fully-resolved URL without saving to the filesystem.
Instructions
Get a download URL for an email attachment.
Returns the fully-resolved URL only — does not write to the filesystem. Safe for hosted deployments.
Args: blob_id: Blob ID of the attachment (from get_email_attachments). name: Filename for the download. content_type: MIME type for the download.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| blob_id | Yes | ||
| name | No | attachment | |
| content_type | No | application/octet-stream |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||