filter_packets
Apply Wireshark display filters to a loaded Wi-Fi capture to locate matching packets and retrieve their summaries.
Instructions
Find packets using a Wireshark/TShark display-filter expression.
Use standard display filters such as dns, tcp.port == 443,
wlan.fc.retry == 1, or frame.number >= 10 && frame.number <= 20.
This returns summaries rather than complete field trees; use
dissect_packet on interesting frame numbers for full details.
Args: capture_id: ID of a currently loaded capture. filter_expression: Non-empty Wireshark display filter. This is not a BPF/libpcap capture filter. limit: Maximum results to return, from 1 through 1000. Defaults to 100.
Returns: Normalized filter, match count returned, and packet summaries containing frame number, Unix timestamp, protocols, and textual dissection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| capture_id | Yes | ||
| filter_expression | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||