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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "capture_packets"
}
}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 |