Built-in tools for Microsoft Prompt flow, providing ready-to-use tools like LLM (OpenAI, Azure OpenAI), Python, SerpAPI, and more. Currently at version 1.6.1, with the parent promptflow package at 1.17.1. Regular releases track the promptflow SDK.
pip install promptflow-toolsVerified import paths — ran on the pinned version, not inferred.
Initialize an Azure OpenAI tool and attach it to a flow.
Use 'from promptflow.tools.azure_openai import AzureOpenAITool' (note the dot-separated path with 'promptflow.tools').
Use the 'XxxTool' naming convention: e.g., 'AzureOpenAITool', 'OpenAITool', 'PythonTool'.
For promptflow >=1.12.0, import from 'promptflow.tools' directly without installing promptflow-tools separately.
Install optional dependencies: 'pip install openai' and/or 'pip install azure-ai-inference'.