default_tool_parser#

langchain_core.messages.tool.default_tool_parser(raw_tool_calls: list[dict]) tuple[list[ToolCall], list[InvalidToolCall]][source]#

Best-effort parsing of tools.

Parameters:

raw_tool_calls (list[dict])

Return type:

tuple[list[ToolCall], list[InvalidToolCall]]