Clarify search engine query guidance
Alessandro committed
May 9, 2026 at 17:36 UTC
bb3b41412c27badbb04b90881771c9369bdcc5dd
1 file changed
+11
-2
prompts/agent.system.tool.search_engine.md
+11
-2
@@ -1,7 +1,16 @@
1
### search_engine
2
find live news, prices, and other real-time web data
3
-arg: `query` (text search query)
3
+arg: `query` (keyword-based text search query)
4
returns urls, titles, and descriptions
5
+
6
+query rules:
7
+- use keywords, names, exact phrases, model/version numbers, dates, and domains
8
+- do not write a natural-language question or sentence
9
+- omit filler words like "what", "who", "can you tell me", "find information about"
10
+- use 3-10 high-signal terms; add alternatives only when they improve recall
11
+- bad: "What is the latest LiteLLM release and what changed?"
12
+- good: "LiteLLM latest release notes changelog"
13
+
14
example:
15
~~~json
16
{
@@ -9,7 +18,7 @@ example:
18
"headline": "Searching the web",
19
"tool_name": "search_engine",
20
"tool_args": {
12
- "query": "latest LiteLLM release notes"
21
+ "query": "LiteLLM latest release notes changelog"
22
}
23
}
24
~~~