-
Notifications
You must be signed in to change notification settings - Fork 239
Labels
bugSomething isn't workingSomething isn't workingfrontendFrontend development (HTML, CSS, JavaScript)Frontend development (HTML, CSS, JavaScript)triageIssues / Features awaiting triageIssues / Features awaiting triage
Milestone
Description
🐞 Bug Summary
Test tool UI passes array inputs as strings
🧩 Affected Component
Select the area of the project impacted:
-
mcpgateway
- API -
mcpgateway
- UI (admin panel) -
mcpgateway.wrapper
- stdio wrapper - Federation or Transports
- CLI, Makefiles, or shell scripts
- Container setup (Docker/Podman/Compose)
- Other (explain below)
🔁 Steps to Reproduce
- Test a tool with one of the inputs of type array, e.g. check-servers
- Enter a list of servers
- Tool call fails saying the list is not of type array
🤔 Expected Behavior
Parse fields with input schema type array as arrays and pass to tool calling API
📓 Logs / Error Output
Input validation error: \[{'host': '8.8.8.8', 'name': 'Google Public DNS', 'responds_to_icmp': True, 'location': 'Global', 'notes': 'Widely used, low-latency'}]\" is not of type 'array'"
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingfrontendFrontend development (HTML, CSS, JavaScript)Frontend development (HTML, CSS, JavaScript)triageIssues / Features awaiting triageIssues / Features awaiting triage