default_tool_parser

Function default_tool_parser 

Source
pub fn default_tool_parser(
    raw_tool_calls: &[Value],
) -> (Vec<ToolCall>, Vec<InvalidToolCall>)
Expand description

Best-effort parsing of tools from raw tool call dictionaries.

This corresponds to the default_tool_parser function in LangChain Python.