Skip to content

Add SeqConvertFilter tool for fuzzy-to-strict filter conversion#2

Open
matt-richardson wants to merge 1 commit intowillibrandon:mainfrom
matt-richardson:add-seq-convert-filter
Open

Add SeqConvertFilter tool for fuzzy-to-strict filter conversion#2
matt-richardson wants to merge 1 commit intowillibrandon:mainfrom
matt-richardson:add-seq-convert-filter

Conversation

@matt-richardson
Copy link

Add new MCP tool that converts fuzzy filter expressions to strict Seq filter syntax. This helps users write better filter expressions by accepting natural language searches (like "error" or "timeout") and converting them to proper Seq filter expressions.

The tool returns:

  • strictExpression: The converted filter expression
  • matchedAsText: Whether it was interpreted as a text search
  • reasonIfMatchedAsText: Explanation if treated as text search

Includes tests for both successful conversions and text search fallbacks.

Add new MCP tool that converts fuzzy filter expressions to strict Seq
filter syntax. This helps users write better filter expressions by
accepting natural language searches (like "error" or "timeout") and
converting them to proper Seq filter expressions.

The tool returns:
- strictExpression: The converted filter expression
- matchedAsText: Whether it was interpreted as a text search
- reasonIfMatchedAsText: Explanation if treated as text search

Includes tests for both successful conversions and
text search fallbacks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant