/install azure-bing-grounding
Azure Bing Grounding
Use the bundled Python script to perform grounded searches using Azure Foundry's Agent Service and the Bing Grounding Search Tool.
Requirements
-
Required Python packages:
pip install azure-identity azure-ai-agents -
Authentication:
- Ensure Azure CLI is logged in (
az login), OR - Set Azure Service Principal / Managed Identity credentials compatible with
DefaultAzureCredentialorClientSecretCredential.
- Ensure Azure CLI is logged in (
-
Environment Variables: Add the following to your
~/.openclaw/.envfile or export them in your shell:# Your Azure AI Foundry project endpoint FOUNDRY_PROJECT_ENDPOINT="https://\x3Cyour-resource>.ai.azure.com/api/projects/\x3Cyour-project>" # The ID of the Bing Grounding connection in your Azure AI Foundry Project BING_PROJECT_CONNECTION_ID="\x3Cyour-connection-id>" # Default model deployment name (optional, defaults to gpt-4o) FOUNDRY_MODEL_DEPLOYMENT_NAME="gpt-4o" # (Optional) Service Principal Credentials if not using DefaultAzureCredential AZURE_TENANT_ID="\x3Ctenant-id>" AZURE_CLIENT_ID="\x3Cclient-id>" AZURE_CLIENT_SECRET="\x3Cclient-secret>"
Commands
Run from the OpenClaw workspace:
# Raw JSON output (default)
python3 {baseDir}/scripts/bing_grounding.py --query "What is the latest AI news today?"
# Markdown human-readable output
python3 {baseDir}/scripts/bing_grounding.py --query "What is the latest AI news today?" --format md
# Use a specific model deployment (default is gpt-4o)
python3 {baseDir}/scripts/bing_grounding.py --query "Weather in Seattle?" --model "gpt-4o-mini"
Output
Returns a generated response synthesized by the Azure AI Agent based on Bing Search results, along with the source URL citations.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install azure-bing-grounding - After installation, invoke the skill by name or use
/azure-bing-grounding - Provide required inputs per the skill's parameter spec and get structured output
What is Azure Bing Grounding?
Web search grounding via Azure Foundry and Bing Grounding Search tool. Use when the user needs up-to-date information searched from the web via Azure AI Agen... It is an AI Agent Skill for Claude Code / OpenClaw, with 92 downloads so far.
How do I install Azure Bing Grounding?
Run "/install azure-bing-grounding" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Azure Bing Grounding free?
Yes, Azure Bing Grounding is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Azure Bing Grounding support?
Azure Bing Grounding is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Azure Bing Grounding?
It is built and maintained by BoWang306 (@bowang306); the current version is v1.0.0.