visualize_network_flows
Analyze PCAP files to create visual diagrams of TCP or UDP network flows. Output as ASCII art or Mermaid sequence diagrams.
Instructions
Generate visual diagrams of network flows from a PCAP file.
Produces ASCII art or Mermaid sequence diagrams showing packet exchanges between endpoints.
Args: filepath: Path to PCAP/PCAPNG file flow_type: Protocol type: tcp or udp max_flows: Maximum number of packet arrows to include (1-200) output_format: Diagram format: text or mermaid
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": {
"filepath": "<filepath>"
},
"name": "visualize_network_flows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filepath | Yes | ||
| flow_type | No | tcp | |
| max_flows | No | ||
| output_format | No | text |