mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-08-28 13:00:15 +03:00
Updated the actual MCP tool definitions in __init__.py with detailed filter parameter descriptions. The previous update to links.py was incorrect because MCP tools are defined via @mcp.tool() decorators in __init__.py. Changes: - Updated update_link tool docstring with comprehensive filter information - Updated create_link tool filters parameter description - Added all 5 filter types with proper array format requirements - Added parameter ranges and usage examples Filters now properly documented: - frequency_drop: [N] (N: -1 to 32767) - packet_loss: [rate] (rate: 0 to 100) - delay: [ms, jitter] (milliseconds) - corrupt: [rate] (rate: 0 to 100) - bpf: [expression] (BPF syntax) This will prevent TypeError: 'int' object is not iterable errors and help users understand the correct filter format.