{{ message }}
feat: enhance search_notes tool documentation with comprehensive syntax examples - #186
Merged
Merged
Conversation
…ax examples - Add detailed "Search Syntax Examples" section covering basic, boolean, and advanced searches - Include content-specific patterns (tag:, category:, author:) as requested in issue - Enhance error messages with more comprehensive guidance and alternatives - Add advanced pattern examples with complex boolean logic and filtering - Improve troubleshooting steps with specific search strategies - Expand no-results guidance with 6 different search approaches - Add search syntax reference to generic error handling Addresses issue #179 for better search tool user experience. Co-authored-by: Paul Hernandez <phernandez@users.noreply.github.com>
Member
Author
Contributor
…format The search_notes function now returns formatted error strings instead of SearchResponse objects when errors occur. Updated all test functions to: - Import SearchResponse for explicit type checking - Handle both success (SearchResponse) and error (string) return types - Fail tests with informative messages when search errors occur This ensures test compatibility with the enhanced error handling added in the search tool documentation improvements. Co-authored-by: Paul Hernandez <phernandez@users.noreply.github.com>
Update test to match actual error message format in search tool. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: phernandez <paul@basicmachines.co>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Enhances the search_notes MCP tool documentation with comprehensive search syntax examples and improved error handling as requested in issue #179.
Changes
Impact
Fixes #179
🤖 Generated with Claude Code