tshark_stats
Extract protocol statistics from pcap files, including hierarchy, conversations, and endpoints, to analyze network traffic.
Instructions
Get protocol statistics from a pcap file. Shows protocol hierarchy, conversations, and endpoints.
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": "<file>",
"type": "<type>"
},
"name": "tshark_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Path to the pcap file on the remote host | |
| type | Yes | Type of statistics to generate | |
| protocol | No | Protocol for conversations/endpoints (e.g., 'tcp', 'udp', 'ip') |