get_record
Retrieve specific Odoo records by ID to access customer details, product information, or other business data. Specify model and record ID to return JSON data with selected fields.
Instructions
Get a specific record by ID.
Args:
model: The Odoo model name
record_id: The ID of the record to retrieve
fields: List of fields to return (empty = all accessible fields)
Returns:
JSON object with the record data
Example:
Get customer details: model='res.partner', record_id=5
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | ||
| record_id | Yes | ||
| fields | No |