follow_tcp
Extract the ASCII payload of a TCP stream from a pcap file by specifying the file path and stream index.
Instructions
Follow a TCP stream by index and return its ASCII payload.
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>"
},
"name": "follow_tcp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to the .pcap or .pcapng file | |
| stream_id | No | TCP stream index to follow (default: 0) |