Base class for parsing agent output into agent actions/finish.
This is used for agents that can return multiple actions.
Tool agent action.
Parses a message into agent actions/finish.
If a tool_calls parameter is passed, then that is used to get the tool names and tool inputs.
If one is not passed, then the AIMessage is assumed to be the final output.