wireshark_filter_save
Apply a Wireshark display filter to a packet capture (pcap) file and save matching packets to a new file.
Instructions
Filter packets from a pcap and save to a new file using a Wireshark display filter.
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": {
"input_file": "<input_file>",
"output_file": "<output_file>",
"display_filter": "<display_filter>"
},
"name": "wireshark_filter_save"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_file | Yes | ||
| output_file | Yes | ||
| display_filter | Yes |