capture_live_packets
Capture live network packets from any interface for analysis. Specify duration, packet count, or BPF filter to narrow traffic.
Instructions
Capture live network packets from a specified interface.
Args: interface: Network interface name (e.g., eth0, en0, Wi-Fi) duration: Maximum capture duration in seconds packet_count: Maximum number of packets to capture bpf_filter: BPF capture filter (e.g., 'tcp port 80')
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": "capture_live_packets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| interface | Yes | ||
| duration | No | ||
| packet_count | No | ||
| bpf_filter | No |