get_related_packets
Find packets related to a selected packet by correlating exact TCP/UDP streams, DNS/DHCP transaction IDs, or Wi-Fi/Ethernet endpoints, with heuristic fallback and time-bounded results.
Instructions
Find packets related to a selected packet or connection event.
Correlation prefers exact TCP/UDP stream or DNS/DHCP transaction IDs, then falls back to Wi-Fi client/BSSID, IP, or Ethernet endpoints. Endpoint-based results are explicitly marked as heuristic and bounded by time.
Args: capture_id: ID of a currently loaded capture. packet_number: Positive, one-based source frame number. window_seconds: Seconds before and after the source packet to search; must be greater than zero and no more than 3600. limit: Maximum results to return, from 1 through 1000.
Returns: Source-frame status, correlation method and confidence, generated display filter, truncation flag, and related packet summaries.
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": {
"capture_id": "<capture_id>",
"packet_number": "<packet_number>"
},
"name": "get_related_packets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| capture_id | Yes | ||
| packet_number | Yes | ||
| window_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||