packet_extract_http
Reassemble TCP streams and extract HTTP/1.x requests and responses from PCAP captures, including methods, URIs, headers, status codes, and body previews.
Instructions
Reassembles TCP streams and extracts HTTP/1.x requests and responses. Parses method, URI, headers, status codes, chunked transfers, body previews (4KB cap), and cognitive guidance hints.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "packet_extract_http"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | No | Base64-encoded PCAP file bytes (max 10MB). | |
| limit | No | Maximum number of HTTP transactions to return (default: 20, max: 100). | |
| method | No | Optional HTTP method filter (e.g. 'GET', 'POST'). | |
| filePath | No | Absolute path to a PCAP file on disk (local stdio only). |