read_record
Retrieve a specific Odoo record by model and ID, optionally selecting only needed fields. Get exact data for any record directly from your Odoo database.
Instructions
Read a single Odoo record by model and 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>",
"record_id": "<record_id>"
},
"name": "read_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | ||
| fields | No | ||
| instance | No | ||
| record_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | No | Reporting tool name. | |
| error | No | Sanitized error message when success is false. | |
| result | No | The record (field-ACL redacted). | |
| success | Yes | False when the call failed; see error. | |
| fields_used | No | ||
| redacted_fields | No | ||
| smart_fields_applied | No |