file_tshark_export
Export packet data into structured formats (fields, JSON, EK) for analysis. Use when you need parsed data instead of raw pcap files.
Instructions
Export packet data in structured format (fields, json, or ek). For writing filtered pcap files, use file_write_filtered_capture instead.
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_file": "<input_file>",
"format": "<format>"
},
"name": "file_tshark_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | ||
| format | Yes | ||
| decode_as | No | ||
| input_file | Yes | ||
| max_packets | No | ||
| output_mode | No | auto | |
| read_filter | No | ||
| display_filter | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |