Skip to content

Invalid schema for function 'karakeep-get-lists' object schema missing properties #1696

@hametovbr

Description

@hametovbr

Describe the Bug

I'm using AnythingLLM with MCP, and while all other functions work fine karakeep-get-lists keep producing error.

anythingllm  | [backend] error:    error: 400 Invalid schema for function 'karakeep-get-lists': In context=(), object schema missing properties. Error: 400 Invalid schema for function 'karakeep-get-lists': In context=(), object schema missing properties.

After some research seems like OpenAI thinks schema is invalid if it has no params at all.

Steps to Reproduce

  1. Run AnythingLLM in docker
  2. Add Karakeep MCP server
  3. Try to make a call to it

Expected Behaviour

Working fine

Screenshots or Additional Context

No response

Device Details

No response

Exact Karakeep Version

v0.25.0

Have you checked the troubleshooting guide?

  • I have checked the troubleshooting guide and I haven't found a solution to my problem

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstatus/untriagedThis issue needs triaging to confirm it

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions