odoo_fields_get
Retrieve field definitions for any Odoo model, including names, types, labels, and attributes to understand model structure.
Instructions
Get field definitions for an Odoo model. Returns field names, types, labels, and attributes.
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>"
},
"name": "odoo_fields_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Model name (e.g. 'res.partner') | |
| attributes | No | Field attributes to return (e.g. ['string', 'type', 'required', 'relation']) | |
| connection | No | default |