stop_capture_session
Terminate a running packet capture session on SharkMCP, apply custom display filters, and export analysis in JSON, fields, or text format using predefined or saved configurations.
Instructions
Stop a running capture session and analyze packets. LLMs control all analysis parameters including display filters and output formats. Can use saved configurations.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
configName | No | Name of saved configuration to use for analysis parameters | |
customFields | No | Custom tshark field list (only used with outputFormat=fields) | |
displayFilter | No | Wireshark display filter for analysis (e.g., "tls.handshake.type == 1") | |
outputFormat | No | Output format: json (-T json), fields (custom -e), or text (default wireshark output) | text |
sessionId | Yes | Session ID returned from start_capture_session | |
sslKeylogFile | No | ABSOLUTE path to SSL keylog file for TLS decryption |