Get Record by ID
Perform Get Record by ID through Odoo.
odoo_get_recordreadodoo
Inputs
- Model
modelexpressionrequiredRequired literal value or workflow expression.
- Record Id
record_idexpressionrequiredRequired literal value or workflow expression.
- Fields
fieldsexpressionOptional literal value or workflow expression.
- Context
contextjsonOptional JSON value.
Outputs
record_idRecord IdrecordRecordsuccessSuccesserrorErrorerror_nameError Namestatus_codeStatus CodefoundFound
Output schema completeness: best_effort_declared
Safety
- External effect
- read
- Confirmation recommended
- No
- Retry safe
- Yes
- Dry run supported
- No
Schemas
These schemas are first-pass authoring guidance. Runtime validation remains authoritative.
Input schema
{
"type": "object",
"required": [
"model",
"record_id"
],
"properties": {
"model": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"fields": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"context": {
"description": "Optional JSON value.",
"x-workflow-field-type": "json"
},
"record_id": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"error": {},
"found": {},
"record": {},
"success": {},
"record_id": {},
"error_name": {},
"status_code": {}
},
"additionalProperties": true
}