stats
Counts events per label value across project sources and compares the current window to the previous one, listing largest changes first so you know what moved before opening an entity.
Instructions
Counts per value of the label by over the project's sources, the last window against
the window before, largest change first. where {label: value} narrows the events counted,
sources narrows the sources. Use it to see what moved before reading one entity.
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": {
"by": "<by>"
},
"name": "stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | Yes | ||
| top | No | ||
| where | No | ||
| window | No | 30m | |
| project | No | ||
| sources | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |