The Tool Agent is an advanced AI agent that uses Function Calling to pick and execute appropriate tools based on user input. It’s designed to work with chat models that support function calling, making it particularly effective for task-oriented conversations and complex query resolution.
toolAgent
AgentExecutor
text
: The agent’s response to the user’s input
sourceDocuments
: (optional) Any source documents used in formulating the response
usedTools
: (optional) A list of tools used by the agent during processing