odoo_model_info
Retrieve detailed information about an Odoo model, including its description, database table name, and field definitions, using the specified model name.
Instructions
Get information about a specific Odoo model.
Retrieves detailed information about the specified model including
its description, database table name, and field definitions.
:param model_name: Name of the Odoo model (e.g., 'res.partner', 'sale.order')
:type model_name: str
:return: Formatted information about the model and its fields
:rtype: str
.. example::
>>> odoo_model_info('res.partner')
Model: res.partner
Description: Partner
Table: res_partner
Fields:
name: Char
email: Char
phone: Char
...
Input Schema
Name | Required | Description | Default |
---|---|---|---|
model_name | Yes |
Input Schema (JSON Schema)
{
"properties": {
"model_name": {
"title": "Model Name",
"type": "string"
}
},
"required": [
"model_name"
],
"title": "odoo_model_infoArguments",
"type": "object"
}