Base tools in smolagents

I’m trying to understand what the parameter, add_base_tools entails? What tools does the agent have access to?

1 Like

From reading the code, I think it’s probably these three.

TOOL_MAPPING = {
    tool_class.name: tool_class
    for tool_class in [
        PythonInterpreterTool,
        DuckDuckGoSearchTool,
        VisitWebpageTool,
    ]
}