odoo_read_group
Group Odoo records and calculate aggregate values such as counts, sums, and averages using domain filters, fields, and groupby parameters for read-only reporting.
Instructions
Odoo read_group (aggregations).
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": "odoo_read_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lazy | No | ||
| limit | No | ||
| model | Yes | ||
| domain | No | [] | |
| fields | No | ||
| offset | No | ||
| groupby | No | ||
| orderby | No | ||
| profile | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |