Skip to content

Empty outputSchema created for tools with unstructured output #491

@basbebe

Description

@basbebe

Describe the bug

If a tool has unstructured output, rmcp still produces an empty outputSchema field in the tool list:

outputSchema: {}

This makes some tools crash with an error (similar to #445).

To Reproduce

TBD

Expected behavior

Optional fields should probably be omitted in the tool list response.

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