Skip to content

metadata_filters parameter gets lost in the search_notes tool schema #38

Description

@lastguru-net

The "metadata_filters" parameter somehow is not getting exposed in the actual schema for the search_notes tool. It exists in the definition file (tools/search-notes.ts), but for some reason disappears in what is presented to the model.

A fast diagnostics pointed out the likely culprit: the parameter definition "Type.Record(Type.String(), Type.Unknown()". Should it be changed (removing "Type.Unknown()"), the parameter appears as it should. Maybe there is some deeper bug, but that is what I can tell right now.

OpenClaw 2026.4.5
Agent: github-copilot/gpt-5.4

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions