From b69ff1785063356963e37e1a55a654aef09968b4 Mon Sep 17 00:00:00 2001 From: YueGuobin Date: Thu, 11 Jun 2026 12:00:36 +0800 Subject: [PATCH] docs: Fix image_install description - it auto-creates templates from uploaded images, not downloads --- gns3server/api/routes/mcp/__init__.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gns3server/api/routes/mcp/__init__.py b/gns3server/api/routes/mcp/__init__.py index 0bf40c131..3f679a581 100644 --- a/gns3server/api/routes/mcp/__init__.py +++ b/gns3server/api/routes/mcp/__init__.py @@ -1185,7 +1185,12 @@ async def image_prune() -> list[dict[str, Any]]: @mcp.tool() async def image_install() -> list[dict[str, Any]]: - """Request the server to install pending images (download from registry).""" + """Scan uploaded images and auto-create templates by matching image checksums against known appliance definitions. + + This is NOT for downloading images. Images must be uploaded first (via the GNS3 Web UI). + If an uploaded image matches a known appliance, a template is automatically created. + Images already referenced by existing templates are skipped. + """ return await asyncio.to_thread(_run_handler_sync, install_images_handler, {})