default_tool_parser#
- langchain_core.messages.tool.default_tool_parser(
- raw_tool_calls: list[dict],
Best-effort parsing of tools.
- Parameters:
raw_tool_calls (list[dict]) – List of raw tool call dicts to parse.
- Returns:
A list of tool calls and invalid tool calls.
- Return type:
tuple[list[ToolCall], list[InvalidToolCall]]