odoo_attachment_download
Download an Odoo attachment by its record ID, retrieving filename, mimetype, size, and base64 content. Optionally save the file to a local path.
Instructions
Download an ir.attachment from Odoo by ID. Returns filename, mimetype, size, and base64-encoded content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection | No | default | |
| attachment_id | Yes | ir.attachment record ID | |
| save_path | No | Optional local path to save the file (instead of returning base64) |