diff --git a/src/basic_memory/mcp/tools/read_note.py b/src/basic_memory/mcp/tools/read_note.py index 3e6629a29..1d1adec87 100644 --- a/src/basic_memory/mcp/tools/read_note.py +++ b/src/basic_memory/mcp/tools/read_note.py @@ -111,7 +111,7 @@ def format_not_found_message(identifier: str) -> str: ## Search Instead Try searching for related content: ``` - search(query="{identifier}") + search_notes(query="{identifier}") ``` ## Recent Activity @@ -172,7 +172,7 @@ def format_related_results(identifier: str, results) -> str: ## Search For More Results To see more related content: ``` - search(query="{identifier}") + search_notes(query="{identifier}") ``` ## Create New Note diff --git a/tests/mcp/test_tool_read_note.py b/tests/mcp/test_tool_read_note.py index fb82216da..831e98886 100644 --- a/tests/mcp/test_tool_read_note.py +++ b/tests/mcp/test_tool_read_note.py @@ -267,7 +267,7 @@ async def test_read_note_text_search_fallback(mock_call_get, mock_search): assert "Related Note 1" in result assert "Related Note 2" in result assert 'read_note("notes/related-note-1")' in result - assert "search(query=" in result + assert "search_notes(query=" in result assert "write_note(" in result