Skip to content

[Bug]: Test tool UI passes boolean inputs as on/off instead of true/false #622

@madhav165

Description

@madhav165

🐞 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

  1. Test a tool with one of the inputs of type boolean, e.g. wikipedia-get-article-content
  2. Select the checkbox
  3. 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

No one assigned

    Labels

    bugSomething isn't workingfrontendFrontend development (HTML, CSS, JavaScript)triageIssues / Features awaiting triage

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions