download_attachment
Download a stored attachment by writing it to a file path or getting a short-lived signed URL, with byte length and sha256 checksum for verification.
Instructions
Download a stored attachment, either by writing it to a file path the server can reach (destPath) or by returning a short-lived signed URL (signedUrl:true). Returns the byte length and sha256 of what was written so you can verify it against the original. Image bytes are never returned inline — that is the same truncation hazard create_attachment exists to avoid, and a path plus a checksum is what verifying integrity actually needs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| destPath | No | Absolute path to write the image to. Must be inside the server's configured allowlist (MEETRUPERT_ATTACHMENT_DIRS). Omit this and pass signedUrl:true instead if you only need a link. | |
| signedUrl | No | If true, return a short-lived URL instead of writing a file. The URL expires in minutes and is scoped to this workspace. | |
| attachmentId | Yes | The attachment's id, as returned by create_attachment or list_attachments (looks like `3f8a1c92-….png`). |