Skip to main content

BaseToolAgent

class BaseToolAgent(BaseAgent):
Creates a :obj:BaseToolAgent object with the specified name and description. Parameters:
  • name (str): The name of the tool agent.
  • description (str): The description of the tool agent.

init

def __init__(self, name: str, description: str):

reset

def reset(self):
Resets the agent to its initial state.

step

def step(self):
Performs a single step of the agent.

str

def __str__(self):