Toggle Menu
Prev Up Next

# `langchain_core.output_parsers.openai_tools`.make_invalid_tool_call

langchain_core.output_parsers.openai_tools.make_invalid_tool_call(raw_tool_call: Dict[str, Any], error_msg: Optional[str]) → InvalidToolCall

  Create an InvalidToolCall from a raw tool call.

  Parameters

    - raw_tool_call (Dict[str, Any]) –

    - error_msg (Optional[str]) –

  Return type

    InvalidToolCall