stop_pcap_file
Stop an active packet capture before it finishes, ensuring the capture file is closed and returning its final path, status, and size.
Instructions
Stop a running non-streaming file capture before its duration elapses.
Signals the background capture to stop, waits for it to flush and close its file, and returns the final path, status and size. A capture that has already ended on its own is returned as-is. Fetch the file with fetch_pcap_file.
Args: capture_id: The capture_id returned by start_pcap_file (also shown by list_pcap_files). session_id: Deprecated alias for capture_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| capture_id | No | ||
| session_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||