wireshark_get_packet_details
Extract detailed JSON representation of a specific packet from a pcap file, with optional protocol layer filtering to focus on relevant data.
Instructions
[Detail] Full JSON for one packet. layers: comma-separated protocol filter (e.g. "ip,tcp,http").
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_file": "<pcap_file>",
"frame_number": "<frame_number>"
},
"name": "wireshark_get_packet_details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layers | No | ||
| pcap_file | Yes | ||
| frame_number | Yes |