diff --git a/CHANGELOG.md b/CHANGELOG.md index d5e7e093..3818a949 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,9 @@ Status of the `main` branch. Changes prior to the next official version change w the actual semantics (configurations are automatically migrated) - Fix: glob matching bare `*` and `?` in non-`**` patterns matched across `/`, contradicting documented behaviour #1732 +* Tools: + - `find_symbol`: Change tool description to improve tool search results in clients that load tools dynamically + * Language Servers: - Allow language server priorities to be configured in `serena_config.yml` (for auto-detection during project creation) diff --git a/src/serena/tools/symbol_tools.py b/src/serena/tools/symbol_tools.py index d4d27785..3eb4cc04 100644 --- a/src/serena/tools/symbol_tools.py +++ b/src/serena/tools/symbol_tools.py @@ -155,7 +155,7 @@ class FindSymbolTool(Tool, ToolMarkerSymbolicRead): max_answer_chars: int = -1, ) -> str: """ - Retrieves information on all symbols/code entities (classes, methods, etc.) based on the given name path pattern. + Finds symbols or other code entities (classes, methods, etc.) based on the given name path pattern. The returned symbol information can be used for edits or further queries. Specify `depth > 0` to also retrieve children/descendants (e.g., methods of a class).