wireshark_get_packet_details
Retrieve full details for a single packet from a pcap file by frame number, with optional layer filtering for targeted analysis.
Instructions
[Detail] Get full details for a SINGLE packet (like Wireshark's bottom pane).
Args: pcap_file: Path to capture file frame_number: The packet number (from wireshark_get_packet_list) layers: Comma-separated list of layers/protocols to include (e.g. "ip,tcp,http"). Reduces output size significantly.
Returns: Complete JSON structure of the packet
Example: wireshark_get_packet_details("traffic.pcap", frame_number=42, layers="http")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layers | No | ||
| pcap_file | Yes | ||
| frame_number | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |