stats_by_proto
Analyze a pcap file to obtain protocol hierarchy statistics, showing the distribution of protocols in captured network traffic.
Instructions
Generate the protocol hierarchy statistics for a pcap file.
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": {
"file_path": "<file_path>"
},
"name": "stats_by_proto"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to the .pcap or .pcapng file |