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