Skip to content

Commit 397a363

Browse files
security(tool_loader): add note about shared responsiblity in auto tool loading (#338)
1 parent da0ca3f commit 397a363

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/user-guide/concepts/tools/tools_overview.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ from strands import Agent
5252
agent = Agent(load_tools_from_directory=True)
5353
```
5454

55+
!!! note "Tool Loading Implications"
56+
When enabling automatic tool loading, any Python file placed in the `./tools/` directory will be executed by the agent. Under the shared responsibility model, it is your responsibility to ensure that only safe, trusted code is written to the tool loading directory, as the agent will automatically pick up and execute any tools found there.
57+
5558
## Using Tools
5659

5760
Tools can be invoked in two primary ways.

0 commit comments

Comments
 (0)