From 6e5ae0467de5e62178096397c514c317ce96d665 Mon Sep 17 00:00:00 2001 From: Dean Schmigelski Date: Fri, 11 Jul 2025 12:51:53 -0400 Subject: [PATCH] chore: update docs to reflect auto-loading and reloading tools --- docs/user-guide/concepts/tools/tools_overview.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/user-guide/concepts/tools/tools_overview.md b/docs/user-guide/concepts/tools/tools_overview.md index 290b6240..a65fb864 100644 --- a/docs/user-guide/concepts/tools/tools_overview.md +++ b/docs/user-guide/concepts/tools/tools_overview.md @@ -44,12 +44,12 @@ agent = Agent(tools=["/path/to/my_tool.py"]) Tools placed in your current working directory `./tools/` can be automatically loaded at agent initialization, and automatically reloaded when modified. This can be really useful when developing and debugging tools: simply modify the tool code and any agents using that tool will reload it to use the latest modifications! -Automatic loading and reloading of tools in the `./tools/` directory is enabled by default with the `load_tools_from_directory=True` parameter passed to `Agent` during initialization. To disable this behavior, simply set `load_tools_from_directory=False`: +Automatic loading and reloading of tools in the `./tools/` directory is disabled by default. To enable this behavior, set `load_tools_from_directory=True` when initializing your agent: ```python from strands import Agent -agent = Agent(load_tools_from_directory=False) +agent = Agent(load_tools_from_directory=True) ``` ## Using Tools