capture_packets
Capture live network traffic and obtain raw packet data in JSON format for real-time monitoring and threat detection.
Instructions
【实时抓包】Capture live traffic and provide raw packet data as JSON. Use this when: 1) User wants to capture live network traffic, 2) Monitoring current network activity, 3) Real-time threat detection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| duration | No | Capture duration in seconds (default: 5) | |
| interface | No | Network interface (e.g., eth0, en0, Ethernet, Wi-Fi) | |
| tshark_path | No | Path to tshark executable |