live_capture
Capture live network traffic from a specified interface for analysis. Apply filters and set duration to limit captured packets, with results returned for immediate inspection.
Instructions
Capture live network traffic from an interface. Writes to a temporary pcap that is deleted after the preview is returned.
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>"
},
"name": "live_capture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| duration | No | Capture duration in seconds (default: 10, max: 300) | |
| interface | Yes | Network interface name (e.g., eth0, Wi-Fi) | |
| packet_count | No | Maximum number of packets to capture (optional) | |
| display_filter | No | Wireshark display filter to apply (optional) |