Skip to content

Invalid json silently ignored #498

Open
@Xodarap

Description

@Xodarap

Describe the bug
if you put invalid json into a tool input, inspector will just silently drop that from what it sends to the MCP tool

To Reproduce
Steps to reproduce the behavior:

  1. Choose a tool with some json input
  2. type some random stuff in the field
  3. see that the things you typed in do not get sent to the tool and no error appears

(Note that things work correctly if you manually click "Format JSON".)

Expected behavior
I think the validity check that Format JSON does should be run on blur, or at least on click of Run Tool

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions