kodeagent.tools.search_web#
- kodeagent.tools.search_web(query: str, max_results: int = 10) str[source]#
Search the web using DuckDuckGo and return top results with titles and URLs. Use this to find current information, news, or general web content. To get full page content from a result URL, call read_webpage tool next (if available).
- Parameters:
query – Search terms (2-5 words work best).
max_results – Number of results to return (default 10, min 1, max 20).
- Returns:
Markdown formatted search results with titles, URLs, and snippets, or an error message.