List Fields
list_fieldsRetrieve all fields for a specified Odoo model, including each field's type and properties, with an optional pattern to filter field names.
Instructions
List all fields of a specific Odoo model with their types and properties.
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": "list_fields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | The technical name of the model (e.g., 'res.partner', 'sale.order') | |
| field_pattern | No | Optional pattern to filter field names |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||