capture_targeted_traffic
Capture network packets filtered by host IP, port, or protocol to analyze targeted traffic.
Instructions
Capture traffic targeted to specific host, port, or protocol.
Args: interface: Network interface name target_host: Filter by host IP (optional) target_port: Filter by port number (optional) protocol: Filter by protocol (tcp, udp, icmp, http) duration: Max capture duration in seconds packet_limit: Maximum packets to capture ctx: Optional MCP context for progress reporting
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": {
"interface": "<interface>"
},
"name": "capture_targeted_traffic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| interface | Yes | ||
| target_host | No | ||
| target_port | No | ||
| protocol | No | ||
| duration | No | ||
| packet_limit | No |