Read records
odoo_readRead specific Odoo records by ID and return selected fields as model, count, and records; use when IDs are known, with missing IDs reported separately.
Instructions
Read specific records of one model by id, at most 100 per call, and return their fields as {model, count, records}. Use it when you already have ids (from odoo_search, a relation field or the user); to find records by criteria use odoo_search, for a number only odoo_count. Ids that do not exist are listed in missing_ids instead of failing; if one of the records is outside your access rights, the call fails with an access error. Values are formatted as in odoo_search.
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": "odoo_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Record ids to read, e.g. [7, 12]. At most 100. | |
| model | Yes | Technical model name from odoo_list_models, e.g. 'res.partner' or 'sale.order'. | |
| fields | No | Field names to return, from odoo_describe_model. Omit for a default selection. |