Skip to content

Support for structuredContent field in MCP tool calls #26

@DhrumanGupta

Description

@DhrumanGupta

The MCP documentation has support for tools to return structured data as JSON in structuredContent: https://modelcontextprotocol.io/specification/2025-06-18/server/tools#structured-content

However, this package discards that field altogether. Tools following the latest spec are effectively broken and the LLM has to deal with data as a JSON encoded string.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions