default_tool_chunk_parser#

langchain_core.messages.tool.default_tool_chunk_parser(
raw_tool_calls: list[dict],
) list[ToolCallChunk][source]#

Best-effort parsing of tool chunks.

Parameters:

raw_tool_calls (list[dict]) – List of raw tool call dicts to parse.

Returns:

List of parsed ToolCallChunk objects.

Return type:

list[ToolCallChunk]