Rename device_command_run_handler → device_show_run_handler to match tool name

This commit is contained in:
YueGuobin committed 2026-06-16 12:44:12 +08:00
1 parent fbb8924a8e
commit f7abb62603
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -102,7 +102,7 @@ def device_config_send_handler(params: dict[str, Any], gns3_ctx: dict[str, Any])
)
def device_command_run_handler(params: dict[str, Any], gns3_ctx: dict[str, Any]) -> list[dict[str, Any]]:
def device_show_run_handler(params: dict[str, Any], gns3_ctx: dict[str, Any]) -> list[dict[str, Any]]:
"""Run read-only diagnostic (show) commands on network devices."""
project_id = params.get("project_id")
device_configs = params.get("device_configs")