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.
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). |