From b6c343c5b8986278910f58f4d792ee8da4aa8e4f Mon Sep 17 00:00:00 2001 From: YueGuobin Date: Wed, 4 Mar 2026 17:55:16 +0800 Subject: [PATCH] feat(agent): add GNS3UpdateNodeNameTool to copilot tools Introduce a new tool for updating node names within the GNS3 copilot agent. This expands the agent's capabilities to include node name modifications alongside existing node and link management operations. --- gns3server/agent/gns3_copilot/agent/gns3_copilot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gns3server/agent/gns3_copilot/agent/gns3_copilot.py b/gns3server/agent/gns3_copilot/agent/gns3_copilot.py index 7c40cc50c..9b15d8207 100644 --- a/gns3server/agent/gns3_copilot/agent/gns3_copilot.py +++ b/gns3server/agent/gns3_copilot/agent/gns3_copilot.py @@ -60,6 +60,7 @@ from gns3server.agent.gns3_copilot.tools_v2 import ( GNS3LinkTool, GNS3StartNodeTool, GNS3TemplateTool, + GNS3UpdateNodeNameTool, VPCSMultiCommands, ) @@ -76,6 +77,7 @@ tools = [ GNS3CreateNodeTool(), # Create new nodes in GNS3 GNS3LinkTool(), # Create links between nodes GNS3StartNodeTool(), # Start GNS3 nodes + GNS3UpdateNodeNameTool(), # Update node name ExecuteMultipleDeviceCommands(), # Execute show/display/debug commands on multiple devices (READ-ONLY) VPCSMultiCommands(), # Execute VPCS commands on multiple devices ]