wireshark_text2pcap_import
Convert ASCII or hex dump to a pcap capture file for network traffic analysis.
Instructions
Convert ASCII or hex dump into a capture file using text2pcap. encapsulation: link-layer type (default: ether).
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": {
"input_text_file": "<input_text_file>",
"output_file": "<output_file>"
},
"name": "wireshark_text2pcap_import"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ascii_mode | No | ||
| output_file | Yes | ||
| encapsulation | No | ether | |
| input_text_file | Yes | ||
| timestamp_format | No |