Toggle Menu
Prev Up Next

# `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]]

  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]]