extract_objects
Extract files from HTTP, SMB, DICOM, IMF, and TFTP streams in PCAP/PCAPNG files using tshark.
Instructions
Extract files from HTTP/SMB/DICOM/IMF/TFTP streams using tshark.
Args: file_path: Path to PCAP/PCAPNG file protocol: Protocol to extract objects from (http, smb, dicom, imf, tftp) output_dir: Directory to write extracted files (created if empty)
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": "extract_objects"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| protocol | No | http | |
| output_dir | No |