Aggregate Odoo statistics
aidoo_reportRun aggregation queries on Odoo models to compute totals, counts, averages, and statistics across all matching records, bypassing pagination limits.
Instructions
Run an aggregation (read_group) query on an Odoo model. PREFERRED tool for statistics, totals, counts, averages, and any analysis — it processes ALL matching records server-side with no pagination limit. Use this instead of aidoo_query whenever you need to compute stats.
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>",
"group_by": "<group_by>",
"measure": "<measure>"
},
"name": "aidoo_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | ||
| domain | No | ||
| measure | Yes | ||
| group_by | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |