Skip to content

Include Response Schema when listing Tools #466

Description

@paulfryer

Is your feature request related to a problem? Please describe.
When listing tools the current protocol shows the Request schema, but doesn't show the Response schema. While most LLMs can just "figure out" the schema based on the serialized JSON response the author of the tool may want to provide more context about the properties in the response.

Describe the solution you'd like
Include the Response schema in the listing of tools.

Describe alternatives you've considered
I considered trying to somehow talk about the response in the request, but that doesn't make sense.

Additional context

I've highlighted an example place to place the response schema, this way when an agent lists tools they can see the input AND output schema.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions