langchain_core.messages.tool.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]]