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
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