get_record
Fetch one or multiple Odoo records by ID, specifying the model and optional fields to return. Enables AI agents to retrieve ERP data for decision-making.
Instructions
Read one or more records by id.
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>"
},
"name": "get_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | Several record ids | |
| model | Yes | Technical model name, e.g. 'res.partner' | |
| fields | No | Fields to return. Omit for all readable fields — prefer naming them. | |
| record_id | No | One record id |