langchain_community.tools.convert_to_openai.format_tool_to_openai_tool¶
langchain_community.tools.convert_to_openai.format_tool_to_openai_tool(tool: BaseTool) → ToolDescription[source]¶
Format tool into the OpenAI function API.