list_attachments
Retrieve attachment metadata from any Odoo model to find existing files and avoid duplicate uploads.
Instructions
Search ir.attachment records for any model. Returns metadata only — never binary data. Use to find existing files before uploading duplicates. src is ready to use as an image/file URL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| limit | No | ||
| res_id | No | ||
| res_model | No |