- Any Python function can be used as a tool by an Agent.
- Use the
@tooldecorator to modify what happens before and after this tool is called.
- Create a python function (optionally using the
@tooldecorator) - Create a Toolkit
Learn how to write your own tools and how to use the @tool decorator to modify the behavior of a tool.
@tool decorator to modify what happens before and after this tool is called.@tool decorator)