Get Record
get_recordRetrieves a specific Odoo record by model and record ID, optionally returning selected fields or default common fields.
Instructions
Get a specific record by ID from an Odoo model.
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": "get_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | The technical name of the model (e.g., 'res.partner') | |
| fields | No | Optional list of field names to retrieve. If not specified, returns common fields (name, display_name, create_date, write_date) | |
| record_id | Yes | The ID of the record to retrieve |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||