🔧 Tool: internet_search┌─────────────────────┬────────────────────────────────────────────┐│ Property │ Value │├─────────────────────┼────────────────────────────────────────────┤│ Name │ internet_search ││ Category │ Search ││ Status │ ✅ Available ││ Dependencies │ duckduckgo-search │└─────────────────────┴────────────────────────────────────────────┘Description: Perform internet searches using DuckDuckGo. Returns a list of search results with titles, URLs, and snippets.Parameters: • query (str, required): The search query • max_results (int, optional): Maximum results to return (default: 5)Example Usage: ```python from praisonaiagents import Agent agent = Agent( instructions="Search the web for information", tools=[internet_search] ) agent.start("Search for AI news")
Returns:
List of dictionaries with keys: title, url, snippet
🔍 Searching tools for: "web"Found 4 matching tools: 1. crawl4ai Category: Web Description: Crawl and extract content from web pages 2. trafilatura Category: Web Description: Extract main content from web pages 3. internet_search Category: Search Description: Search the web using DuckDuckGo 4. tavily_search Category: Search Description: AI-powered web search with Tavily
Tools Commands: praisonai tools list - List all available tools praisonai tools info <name> - Get detailed info about a tool praisonai tools search <query> - Search for tools by name/description praisonai tools help - Show this helpUsing Tools with Agents: praisonai "task" --tools "tool1,tool2" - Use specific tools praisonai "task" --tools tools.py - Load tools from file
# tools.pyfrom typing import List, Dictdef search_database(query: str, limit: int = 10) -> List[Dict]: """ Search the internal database. Args: query: Search query string limit: Maximum results to return Returns: List of matching records """ # Your implementation return results