display_filter
Filter a pcap file using a Wireshark display filter and preview matching packets.
Instructions
Apply a Wireshark display filter to a pcap file and return a preview of matching packets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | Yes | Wireshark display filter (e.g., 'tcp.port == 80', 'http') | |
| file_path | Yes | Path to the .pcap or .pcapng file | |
| packet_count | No | Maximum number of packets to return (default: 100) |