#tools/tool_definitions.py TOOL_TIPS = { "WebSearchTool": "๐Ÿ” Search the web using DuckDuckGo, Brave, or SerpAPI.", "VisitWebpageTool": "๐ŸŒ Fetch and convert a webpage into readable markdown.", "PythonTool": "๐Ÿ Execute Python code securely in a sandboxed environment.", "PythonInterpreterTool": "๐Ÿงช A stateful Python interpreter with retained execution context.", "TerminalTool": "๐Ÿ’ป Run shell commands. Use with caution.", "FileTool": "๐Ÿ—‚๏ธ Read, write, and manipulate local files for your agent.", "ImageTool": "๐Ÿ–ผ๏ธ Handle image input/output โ€” caption, generate, or analyze.", "FinalAnswerTool": "โœ… Marks the final agent response to stop processing.", "UserInputTool": "๐Ÿ‘ค Allows dynamic user prompts mid-task.", "LangChainTool": "๐Ÿ”— Wrap LangChain tools like SerpAPI, SQL Toolkit, Wolfram Alpha.", "HFModelDownloadsTool": "๐Ÿ“Š Fetch most downloaded HF models for a given task.", "ApiWebSearchTool": "๐Ÿ›ฐ๏ธ Search APIs like Bing or Google for fresh results.", "Tool.from_hub()": "๐Ÿ“ฆ Load external tools from Hugging Face Hub repos.", "Tool.from_space()": "๐Ÿงช Import Gradio Spaces as tools.", "Tool.from_mcp()": "๐Ÿง  Load tools dynamically from registered MCP servers.", "Tool.from_langchain()": "๐Ÿงฌ Convert LangChain tool definitions into SmolAgent-compatible formats.", "Tool.from_gradio()": "๐ŸŽ›๏ธ Wrap Gradio interfaces as callable tools.", "ToolCollection.from_mcp()": "๐ŸŒ Fetch and register toolsets from Glama, Smithery, and other MCP providers." } โœ… This file gives you tooltip metadata for dynamic dropdowns, tool help panels, and config-driven rendering. You can link this file to model_config.json, or expand to include categories, icons, or flags like streaming=True.