Skip to content

Tool output schema doesn't support basic types #948

@asklar

Description

@asklar

https://github.com/modelcontextprotocol/csharp-sdk/blame/b90f17bccb5f5f781318bc5b22e0d94205d67857/src/ModelContextProtocol.Core/McpJsonUtilities.cs#L65

Looks like this mandates output must be an object; however, in the spec AFAICT, the output could be any basic type like string, number, etc.

Ask is to relax this to support at least string + numeric types

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions