-
Notifications
You must be signed in to change notification settings - Fork 93
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
Describe the bug
A clear and concise description of what the bug is.
Using the example tool in the readme and running that script to open a stdio server, you cannot call the tool with json_rpc. It returns an error.
To Reproduce
Steps to reproduce the behavior:
- Copy the example tool script from the readme into a ruby file and run it:
ruby <file.rb> - use json rpc in the same console to request the tool:
{"jsonrpc":"2.0","id":"2","method":"tools/call", "params":{"name":"example_tool"}}
{"jsonrpc":"2.0","id":"2","error":{"code":-32603,"message":"Internal error","data":"Internal error handling tools/call request"}}
Expected behavior
It should run the tool and give the proper output.
urielhdz
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation