Download attachment
easybill_download_attachmentDownload an attachment from easybill and save it locally. Returns the saved file path and size in bytes, keeping large files out of the conversation.
Instructions
Download an attachment's file content and save it to a local path.
Returns the saved file path and size in bytes. The content is NOT loaded into the conversation, so this is safe for large files. Find attachment IDs with easybill_list_attachments.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The numeric easybill ID of the attachment to download | |
| output_path | Yes | Absolute path to write the file to, e.g. '/Users/me/Desktop/receipt.pdf'. Parent directory must exist. |