capture_network_traffic
Capture network traffic from virtual machines for analysis. Specify VM name, interface, duration, and optional filters to obtain traffic data with download links.
Instructions
Capture network traffic on a VM.
Args: vm_name: VM name to capture traffic from interface: Network interface to capture on duration: Capture duration in seconds filter: Optional BPF filter expression user_id: Optional user ID (admin only)
Returns: Traffic capture result with download link
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": {
"vm_name": "<vm_name>"
},
"name": "capture_network_traffic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm_name | Yes | ||
| interface | No | eth0 | |
| duration | No | ||
| filter | No | ||
| user_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||