Represents a request to execute an action by an agent.
The action consists of the name of the tool to execute and the input to pass to the tool. The log is used to pass along extra information about the action.
The name of the Tool to execute.
The input to pass in to the Tool.
Additional information to log about the action.
This log can be used in a few ways. First, it can be used to audit what exactly the
LLM predicted to lead to this (tool, tool_input).
Second, it can be used in future iterations to show the LLMs prior thoughts. This is
useful when (tool, tool_input) does not contain full information about the LLM
prediction (for example, any thought before the tool/tool_input).
Return the messages that correspond to this action.