# Base tools in smolagents

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fbase-tools-in-smolagents%2F144286%3E%5C
**Category:** Beginners\
**Created:** [March 5, 2025, 6:51pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fbase-tools-in-smolagents%2F144286 "2025-03-05T18:51:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Srirakshith](https://avatars.discourse-cdn.com/v4/letter/s/df788c/32.png) [@Srirakshith](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FSrirakshith)%5C
**Post date:** [March 5, 2025, 6:51pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fbase-tools-in-smolagents%2F144286%2F1 "2025-03-05T18:51:19Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FJohn6666)%5C
**Post date:** [March 6, 2025, 3:42am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fbase-tools-in-smolagents%2F144286%2F2 "2025-03-06T03:42:32Z")

</div>

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

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

```

> <https://github.com/huggingface/smolagents/blob/v1.10.0/src/smolagents/default_tools.py>
