export_packets_csv
Export packet fields from a PCAP file to a CSV with proper headers using customizable field selection and display filters.
Instructions
Export packet fields from a PCAP as CSV with proper headers using tshark -E flags.
Args: filepath: Path to PCAP/PCAPNG file fields: Comma-separated field names (default: standard fields including column fields) display_filter: Wireshark display filter separator: CSV field separator character (default: comma)
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": {
"filepath": "<filepath>"
},
"name": "export_packets_csv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filepath | Yes | ||
| fields | No | ||
| display_filter | No | ||
| separator | No | , |