Skip to content

Reconsider "array" outputschema type #310

@findleyr

Description

@findleyr

Sorry for the confusion. The reason Cursor and other clients can't recognize the tools is that the outputSchema type field only accepts "object", not "array". Copilot doesn't have this issue - it's not related to whether the response format is application/json or text/event-stream. Although the Go SDK doesn't provide an option to force JSON-only responses like the Python SDK enable JsonResponse feature, this doesn't affect MCP clients when using MCP servers developed with the Go SDK. Sorry

Originally posted by @sushi-small in #211

@jba should we be reporting the output schema as type "array"?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions