Read Records
read_recordsRetrieve specific Odoo records by model and record IDs, optionally limiting returned fields. Use it to fetch exact ERP data without full searches.
Instructions
Read specific records by their IDs.
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>",
"ids": "<ids>"
},
"name": "read_records"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | List of record IDs to read | |
| model | Yes | Model name (e.g., 'res.partner') | |
| fields | No | Fields to return (None = auto-exclude dangerous fields like binary/image/html) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |