capture_live
Capture live packets from a network interface, applying optional filters, count, and duration limits, to obtain a summary for real-time traffic analysis.
Instructions
Capture live packets from a network interface.
Args: interface: Network interface name (use list_interfaces to find names) packet_count: Number of packets to capture (default: 50, max: 500) display_filter: Optional display filter to apply duration: Maximum capture duration in seconds (default: 10, max: 60)
Returns: Captured packet summary
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_live"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| duration | No | ||
| interface | Yes | ||
| packet_count | No | ||
| display_filter | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |