langchain_core.output_parsers.openai_tools.parse_tool_callΒΆ

langchain_core.output_parsers.openai_tools.parse_tool_call(raw_tool_call: Dict[str, Any], *, partial: bool = False, strict: bool = False, return_id: bool = True) Optional[Dict[str, Any]][source]ΒΆ

Parse a single tool call.

Parameters
  • raw_tool_call (Dict[str, Any]) –

  • partial (bool) –

  • strict (bool) –

  • return_id (bool) –

Return type

Optional[Dict[str, Any]]