save_capture_to_file
Capture network traffic on a specified interface and save it to a PCAP file for later analysis. Supports duration, packet count, and optional BPF filter.
Instructions
Capture network traffic and save to a PCAP file.
Useful when you want to keep a capture for later analysis.
Args: interface: Network interface name output_file: Path where to save the PCAP file duration: Max capture duration in seconds packet_count: Max packets to capture bpf_filter: BPF capture filter (optional)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| interface | Yes | ||
| output_file | Yes | ||
| duration | No | ||
| packet_count | No | ||
| bpf_filter | No |