Skip to content

Invalid schema for function 'list_users_by_org': OpenAI function calling compatibility issue #390

@waTErMo0n

Description

@waTErMo0n

I deployed this MCP service, and encountered the following error when listing the tools for this MCP service.

err

litellm.BadRequestError: OpenAIException - Invalid schema for function 'list_users_by_org': 
In context=(), object schema missing properties.

The JSON schema definition of the list_users_by_org tool does not conform to the OpenAI Function Calling specification. According to the error message, the tool's parameter object schema is missing a required properties field.

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