Tools ===== Tools are the components that allow agents to perform actions. Any Python function can be converted into a tool using the ``@tool`` decorator. Tool Class --------- .. autoclass:: brain.agents.tool.Tool :members: :show-inheritance: Tool Configuration ---------------- .. autoclass:: brain.agents.tool.ToolConfig :members: :show-inheritance: Function Tool ----------- .. autoclass:: brain.agents.tool.FunctionTool :members: :show-inheritance: Tool Decorator ------------- .. autofunction:: brain.agents.tool.tool Output Model ----------- .. autoclass:: brain.agents.tool.Output :members: :show-inheritance: State Context ------------ .. autoclass:: brain.agents.tool.StateContext :members: :show-inheritance: