excel_group_aggregate
Groups Excel worksheet rows by a column and aggregates a target column using count, sum, avg, max, or min over a specified range.
Instructions
Group and aggregate data
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": {
"filename": "<filename>",
"worksheet": "<worksheet>",
"startCell": "<startCell>",
"endCell": "<endCell>",
"groupByColumn": "<groupByColumn>",
"operation": "<operation>"
},
"name": "excel_group_aggregate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endCell | Yes | Range end | |
| filename | Yes | Workbook name | |
| hasHeader | No | Has header | |
| operation | Yes | Operation (count/sum/avg/max/min) | |
| startCell | Yes | Range start | |
| worksheet | Yes | Worksheet name | |
| groupByColumn | Yes | Group column | |
| aggregateColumn | No | Aggregate column |