Skip to content

metadata_filters parameter gets lost in the search_notes tool schema #38

@lastguru-net

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

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