Inspect model fields
odoo_fields_getReturns the field definitions of an Odoo model: type, label, required, relation and selection values. Returns JSON with model, field_count and fields.
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 | Odoo model technical name. | |
| attributes | No | Field metadata attributes to return. Defaults to string, type, required, readonly, relation and selection. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |