follow_stream
Reconstruct TCP or UDP stream content from a PCAP file, optionally using a TLS key log to decrypt TLS traffic.
Instructions
Follow and reconstruct a TCP or UDP stream.
Args: file_path: Path to the PCAP file protocol: Stream protocol - "tcp", "udp", or "sctp" stream_index: Stream index to follow (default: 0, the first stream) keylog_file: Optional path to a TLS key log file. When provided, use follow_tls_stream instead for decrypted TLS content.
Returns: Reconstructed stream content as ASCII text
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": {
"file_path": "<file_path>",
"protocol": "<protocol>"
},
"name": "follow_stream"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| protocol | Yes | ||
| file_path | Yes | ||
| keylog_file | No | ||
| stream_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |