Get Fields
get_fieldsRetrieve field definitions and attributes for any Odoo model. Provide a model name to get all fields, or specify field names and attributes to narrow results.
Instructions
Get field information for an Odoo model using ORM fields_get().
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Model name (e.g., 'res.partner') | |
| fields | No | Specific field names to retrieve (None = all fields) | |
| attributes | No | Field attributes to return (None = default attributes including type, string, help, required, readonly, store, selection, comodel_name, inverse_name, domain) | |
| field_filter | No | Optional filter for field name (e.g., 'name' to find name-related fields) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |