capture_live
Capture live packets from a network interface, applying optional filters, count, and duration limits, to obtain a summary for real-time traffic analysis.
Instructions
Capture live packets from a network interface.
Args: interface: Network interface name (use list_interfaces to find names) packet_count: Number of packets to capture (default: 50, max: 500) display_filter: Optional display filter to apply duration: Maximum capture duration in seconds (default: 10, max: 60)
Returns: Captured packet summary
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| duration | No | ||
| interface | Yes | ||
| packet_count | No | ||
| display_filter | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |