list_attachments
Retrieve the files attached to a single ERP record by specifying its model and record ID, returning each attachment's name, type, and size. Use it to inspect documents linked to a specific record.
Instructions
List the files attached to one record (name, type, size).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"model": "<model>",
"record_id": "<record_id>"
},
"name": "list_attachments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Technical model name, e.g. 'res.partner' | |
| record_id | Yes | One record id |