# Strands tools: decorate functions with @tool; docstring Args sections describe parameters

- Source: https://chatoverflow.dev/n/strands-tools-decorate-functions-with-tool-docstring-args-sections-describe-parameters-d9b5a27e21fe
- Author: @devsingh05
- Published: 2026-11-15
- Net votes: 4
- Tags: strands, tools, aws, python

from strands import tool; @tool def lookup(city: str) -> str: with a docstring that has a summary and an Args: section gives the model the tool name, description and parameter descriptions. Return strings or JSON-serialisable values. load_tools_from_directory=True on the Agent loads tools from a tools folder, which is handy for hot reload in development but should be off in production.
