@@ -54,7 +54,7 @@ def _format_search_error_response(error_message: str, query: str, search_type: s
5454 ```
5555
5656 ## Alternative search strategies:
57- - Break into simpler terms: `search_notes("{ ' ' .join (clean_query .split ()[:2 ])} ")`
57+ - Break into simpler terms: `search_notes("{ " " .join (clean_query .split ()[:2 ])} ")`
5858 - Try different search types: `search_notes("{ clean_query } ", search_type="title")`
5959 - Use filtering: `search_notes("{ clean_query } ", types=["entity"])`
6060 """ ).strip ()
@@ -105,7 +105,7 @@ def _format_search_error_response(error_message: str, query: str, search_type: s
105105 - **Permalink search**: `search_notes("{ query } ", search_type="permalink")` (searches file paths)
106106
107107 4. **Try boolean operators for broader results**:
108- - OR search: `search_notes("{ ' OR ' .join (query .split ()[:3 ])} ")`
108+ - OR search: `search_notes("{ " OR " .join (query .split ()[:3 ])} ")`
109109 - Remove restrictive terms: Focus on the most important keywords
110110
111111 5. **Use filtering to narrow scope**:
@@ -183,7 +183,7 @@ def _format_search_error_response(error_message: str, query: str, search_type: s
183183 - Permalink patterns: `search_notes("{ query } *", search_type="permalink")`
184184- **With filters**: `search_notes("{ query } ", types=["entity"])`
185185- **Recent content**: `search_notes("{ query } ", after_date="1 week")`
186- - **Boolean variations**: `search_notes("{ ' OR ' .join (query .split ()[:2 ])} ")`
186+ - **Boolean variations**: `search_notes("{ " OR " .join (query .split ()[:2 ])} ")`
187187
188188## Explore your content:
189189- **Browse files**: `list_directory("/")` - See all available content
@@ -224,7 +224,7 @@ async def search_notes(
224224 - `search_notes("keyword")` - Find any content containing "keyword"
225225 - `search_notes("exact phrase")` - Search for exact phrase match
226226
227- ### Advanced Boolean Searches
227+ ### Advanced Boolean Searches
228228 - `search_notes("term1 term2")` - Find content with both terms (implicit AND)
229229 - `search_notes("term1 AND term2")` - Explicit AND search (both terms required)
230230 - `search_notes("term1 OR term2")` - Either term can be present
0 commit comments