- 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
Write custom tool functions and use the @tool decorator to modify tool behavior.
@tool decorator to modify what happens before and after this tool is called.@tool decorator)