mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-19 20:55:14 +02:00
The bridge made 49 project-scoped MCP tools available, but the mode tables still mirrored the old copilot capability set. Expand them: - lab_automation_assistant: node_console_exec (raw console for nodes without a device_type tag), node_list, snapshot_list/create/delete/ restore - teaching_assistant: node_list/node_get, link_list, link_marker (read-only diagnostics plus traffic-insight markers) - troubleshooting_injection: link_capture_start/stop/download and marker_definition (inject -> capture -> verify loop) Also fix the tools_by_name registry: it was built from the lab and injection tables only, which worked while teaching was a strict subset of lab. Teaching-only tools would have raised KeyError in tool_node when the LLM called them; the registry now unions all three mode tables. A new test pins each mode's exact toolset, checks that no administration tool leaks in, and asserts every referenced name is resolvable.