odoo_get_model_schema
Retrieve the schema and field definitions for any Odoo model, such as 'res.partner' or 'account.move', to debug field searches or understand model structure.
Instructions
Retrieve the fields and schema for a given Odoo model (e.g. 'res.partner'). Very useful if a field search fails.
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": {
"payload": "<payload>"
},
"name": "odoo_get_model_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |