read_group
Retrieve aggregated data from Odoo models by grouping records based on specified fields, enabling analysis of summarized information.
Instructions
Read grouped/aggregated data from an Odoo model.
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>",
"fields": "<fields>",
"groupby": "<groupby>"
},
"name": "read_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | ||
| fields | Yes | ||
| groupby | Yes | ||
| domain | No | ||
| limit | No | ||
| orderby | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||