-
Notifications
You must be signed in to change notification settings - Fork 416
Closed
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 boolean inputs as on/off instead of true/false
🧩 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 boolean, e.g. wikipedia-get-article-content
- Select the checkbox
- Tool call fails saying the list is not of type array
🤔 Expected Behavior
Parse fields with input schema type boolean as true/false (on - true, off or null - false) and pass to tool calling API
📓 Logs / Error Output
Input validation error: 'on' is not of type 'boolean'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