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]¶
解析单个工具调用。
- Parameters
raw_tool_call (Dict[str, Any]) –
partial (bool) –
strict (bool) –
return_id (bool) –
- Return type
Optional[Dict[str, Any]]