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.
This commit is contained in:
YueGuobin 2026-03-04 17:55:16 +08:00
parent 0648b53a45
commit b6c343c5b8

View File

@ -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
]