Skip to content

Conversation

@umuthopeyildirim
Copy link
Contributor

If inputParams is undefined, parameters is returning non valid object;

{
    "name": "fetch_langgraph_documentation",
    "description": "Fetch entire documentation file from GitHub repository: langchain-ai/langgraph. Useful for general questions. Always call this tool first if asked about langchain-ai/langgraph.",
    "parameters": {
        "type": "object"
    }
}

If inputParams is {}, parameters is returning correct empty object;

{
    "name": "fetch_langgraph_documentation",
    "description": "Fetch entire documentation file from GitHub repository: langchain-ai/langgraph. Useful for general questions. Always call this tool first if asked about langchain-ai/langgraph.",
    "parameters": {
        "type": "object",
        "properties": {},
        "additionalProperties": false,
        "$schema": "http://json-schema.org/draft-07/schema#"
    }
}

@idosal
Copy link
Owner

idosal commented May 13, 2025

Thanks a lot for the contribution! You're absolutely right. When the code was committed, it was necessary for Windsurf, but we've just added support for HTTP Streaming and explicit Zod typing that works for all IDEs: #154. It should cover this case. Please LMK if it doesn't.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants