gns3_start_capture
Start packet capture on GNS3 network links for traffic analysis. Capture network packets to analyze with Wireshark by specifying capture file name and link parameters.
Instructions
Start packet capture on a link. Captured packets can be analyzed with Wireshark.
Args: capture_file_name: Name for the capture file (without .pcap extension) data_link_type: Data link layer type (default: Ethernet)
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": {
"project_id": "<project_id>",
"link_id": "<link_id>",
"capture_file_name": "<capture_file_name>"
},
"name": "gns3_start_capture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| link_id | Yes | ||
| capture_file_name | Yes | ||
| server_url | No | http://localhost:3080 | |
| username | No | ||
| password | No | ||
| data_link_type | No | DLT_EN10MB |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||