connect_nodes
Connect two nodes in an EVE-NG lab by creating a network and attaching their interfaces. First use get_lab to find node and interface IDs.
Instructions
Connect two nodes by creating a network and attaching their interfaces to it. Specify the node IDs and interface IDs to connect. Use 'get_lab' first to see available nodes and their interface IDs.
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": {
"lab_path": "<lab_path>",
"node1_id": "<node1_id>",
"node1_interface": "<node1_interface>",
"node2_id": "<node2_id>",
"node2_interface": "<node2_interface>"
},
"name": "connect_nodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lab_path | Yes | ||
| node1_id | Yes | ||
| node1_interface | Yes | ||
| node2_id | Yes | ||
| node2_interface | Yes | ||
| network_name | No | ||
| network_type | No | bridge |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |