get_fields
Fetch Odoo model fields and dotted relation paths to build accurate template expressions, including row_path keys for fields used inside table repeaters.
Instructions
Fields of an Odoo model, plus paths: dotted paths one relation
deep (partner_id.name, order_line.price_subtotal). A path with
in_table belongs inside a table (repeater) bound to that value,
where you write it as row_path (e.g. {{ price_subtotal }}).
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_fields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | ||
| search | No |