langchain_core.output_parsers.openai_tools.parse_tool_callsΒΆ

langchain_core.output_parsers.openai_tools.parse_tool_calls(raw_tool_calls: List[dict], *, partial: bool = False, strict: bool = False, return_id: bool = True) List[Dict[str, Any]][source]ΒΆ

Parse a list of tool calls.

Parameters
  • raw_tool_calls (List[dict]) –

  • partial (bool) –

  • strict (bool) –

  • return_id (bool) –

Return type

List[Dict[str, Any]]