link_create
Link two network nodes in GNS3 by specifying each node's adapter and port number.
Instructions
Create a link between two node ports.
Use a node's ports (from node_get/nodes_list) to find adapter_number/port_number.
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": {
"node_a": "<node_a>",
"adapter_a": "<adapter_a>",
"port_a": "<port_a>",
"node_b": "<node_b>",
"adapter_b": "<adapter_b>",
"port_b": "<port_b>"
},
"name": "link_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_a | Yes | ||
| adapter_a | Yes | ||
| port_a | Yes | ||
| node_b | Yes | ||
| adapter_b | Yes | ||
| port_b | Yes | ||
| project_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||