langchain_community.tools.render.format_tool_to_openai_tool¶

langchain_community.tools.render.format_tool_to_openai_tool(tool: BaseTool) ToolDescription[source]¶

Format tool into the OpenAI function API.