gns3_add_link
Connect two network nodes in GNS3 simulations by specifying their adapters and ports to establish network links for topology building.
Instructions
Create a link between two nodes.
Args: node_a_id, node_b_id: Node IDs to connect adapter_a, port_a: Adapter and port number on node A adapter_b, port_b: Adapter and port number on node B
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>",
"node_a_id": "<node_a_id>",
"node_b_id": "<node_b_id>"
},
"name": "gns3_add_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| node_a_id | Yes | ||
| node_b_id | Yes | ||
| server_url | No | http://localhost:3080 | |
| username | No | ||
| password | No | ||
| adapter_a | No | ||
| port_a | No | ||
| adapter_b | No | ||
| port_b | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||