wireshark_capture
Captures live network traffic to a file for packet analysis, with BPF filters, duration or packet limits, and ring-buffer options.
Instructions
Capture live network traffic. capture_filter: BPF syntax. ring_buffer: "filesize:1024,files:5".
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": {
"interface": "<interface>",
"output_file": "<output_file>"
},
"name": "wireshark_capture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| interface | Yes | ||
| output_file | Yes | ||
| ring_buffer | No | ||
| packet_count | No | ||
| capture_filter | No | ||
| duration_seconds | No |