get_model_fields
Retrieves field definitions such as type, relation, and required status for a specified Odoo model, helping inspect schema before record operations.
Instructions
Field definitions of a model (type, relation, required...).
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": "get_model_fields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Technical model name, e.g. 'res.partner' | |
| attributes | No |