Summarize events
summarizeCount the signed-in user's EPCIS events, computed by the repository in one call, grouped by one dimension: eventType, bizStep, disposition, readPoint, bizLocation, action, day or month. Takes the same filters as query_events. Use it for "how many", "which steps", "per day" questions instead of paging through events; then query_events for the events behind a bucket.
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": {
"groupBy": "<groupBy>"
},
"name": "summarize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | events before this time, ISO 8601 | |
| epc | No | an instance or class identifier anywhere in the event | |
| from | No | events at or after this time, ISO 8601 | |
| more | No | further EPCIS query parameters as a query string | |
| size | No | most groups to return, 1 to 100 (default 20) | |
| bizStep | No | CBV bizStep, bare (shipping) or as URI | |
| groupBy | Yes | eventType, bizStep, disposition, readPoint, bizLocation, action, day or month | |
| eventType | No | ObjectEvent, AggregationEvent, TransformationEvent, AssociationEvent or TransactionEvent | |
| readPoint | No | Read Point, an SGLN Digital Link | |
| bizLocation | No | Business Location, an SGLN Digital Link | |
| disposition | No | CBV disposition, bare (in_transit) or as URI |