Skip to content

tools.39.custom.input_schema: input_schema does not support oneOf, allOf, or anyOf at the top level #11

@tomlinford

Description

@tomlinford

We saw the following error in claude code:

API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"tools.39.custom.input_schema: input_schema does not support oneOf, allOf, or anyOf at the top level"},"request_id":"..."}

Pinning to 0.2.2 fixed the issue for us. It seems like maybe 0.13.0 is the first version pushed to npm since 0.2.2: https://www.npmjs.com/package/@perplexity-ai/mcp-server/v/0.13.0?activeTab=versions

current (fixed) configuration

  "mcpServers": {
    "perplexity": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@perplexity-ai/[email protected]"],
      "env": {
        "PERPLEXITY_API_KEY": "${PERPLEXITY_API_KEY}"
      }
    },
  ...
}```

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