You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Inspector shows invalid tool error even for a valid response #84
The inspector client is showing displaying an invalid tool result, even though if the tool response is valid. I'm using the weather mpc from the documentation to replicate.
It looks like CallToolResultSchema.safeParse(toolResult) expects an array, however in the weather app example the tool result is an object.
Hey @TikiCat7, thanks for this report! This was actually an error in the docs that's now been fixed. If you go check out the docs now, the example code is updated.
Activity
ashwin-ant commentedon Nov 27, 2024
Hey @TikiCat7, thanks for this report! This was actually an error in the docs that's now been fixed. If you go check out the docs now, the example code is updated.