wireshark_aggregate
Compute filtered packet-capture statistics, including counts, grouped values, distinct values, numeric metrics, top-k results, and time buckets from a PCAP file.
Instructions
[Primary statistics] Full-filter counts, groups, distinct values, numeric metrics, top-k, and time buckets. Field lists are comma-separated.
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": {
"pcap_file": "<pcap_file>"
},
"name": "wireshark_aggregate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_k | No | ||
| sort_by | No | auto | |
| distinct | No | ||
| group_by | No | ||
| pcap_file | Yes | ||
| avg_fields | No | ||
| max_fields | No | ||
| min_fields | No | ||
| sum_fields | No | ||
| sort_numeric | No | ||
| display_filter | No | ||
| time_bucket_seconds | No |