langchain.agents.output_parsers.openai_tools.parse_ai_message_to_openai_tool_action

langchain.agents.output_parsers.openai_tools.parse_ai_message_to_openai_tool_action(message: BaseMessage) Union[List[AgentAction], AgentFinish][source]

Parse an AI message potentially containing tool_calls.