ghostlan_capture_inspect
Summarize saved .pcap captures by returning packet, byte, TCP, UDP, and ICMP counts plus tcpdump-decoded lines, with optional BPF filtering and a line limit.
Instructions
Summarize a saved .pcap file (packet/byte/TCP/UDP/ICMP counts + decoded lines via tcpdump -r)
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_path": "<pcap_path>"
},
"name": "ghostlan_capture_inspect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max decoded packet lines to return (default 50) | |
| filter | No | Optional tcpdump BPF filter (e.g. 'udp port 7960') | |
| pcap_path | Yes | Path to saved .pcap file |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tcp | Yes | ||
| udp | Yes | ||
| icmp | Yes | ||
| bytes | Yes | ||
| lines | No | ||
| packets | Yes | ||
| pcap_path | Yes |