Skip to content

Inspector reports ToolCallResult with resource link as invalid #553

Open
@mikekistler

Description

@mikekistler

Describe the bug

I'm running the inspector on an MCP server that returns a tool call result that contains a resource link content block. The inspector reports this as an "Invalid Tool Result":

Image

This may be because the inspector has not yet moved up to the TypeScript SDK version that adds support for resource links (that's a guess).

To Reproduce

Run the inspector on an MCP server that returns a tool call result that contains a resource link content block and call that tool.

Expected behavior

The tool call result should be presented and not flagged as invalid.

Logs

Here's a screen shot of the "parsedResult" that caused the result to be labelled as invalid:

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