All skills
microsoft avatar

/microsoft-foundry

@04110d9
by microsoftmicrosoft/skills3.1k stars
351

Build, deploy, evaluate, optimize, fine-tune, and manage Microsoft Foundry agents, models, and resources end to end. USE FOR: foundry, azd ai agent, azd provision/deploy, hosted agent scaffold/develop/run/deploy/troubleshoot, prompt agent create, create agent, update agent, add tool to agent, invoke agent, agent.yaml, agent insights, pull agent insights, evaluate agent, batch eval, continuous eval, continuous monitoring, agent CI/CD, optimize prompt, improve prompt, prompt optimizer, optimize agent instructions, Agent Optimizer scaffold, dataset curation from traces, deploy model, model fine-tuning (SFT/DPO/RFT), Foundry project, RBAC, role assignment, permissions, quota, capacity, region, deployment failure, AI Services, create Foundry resource, knowledge index, customize deployment, onboard, availability, training-data, grader, distillation, large file upload. DO NOT USE FOR: Azure Functions, App Service, general Azure deploy (use azure-deploy), general Azure prep (use azure-prepare).

Use this Skill: https://skilld.dev/gh/microsoft/skills/microsoft-foundry

This session only. Nothing lands on disk.

foundry-agentcreatereferencestoolsprompt-agenttool-web-search.md

≈926 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Web Search Tool (Preview)

Enables agents to retrieve and ground responses with real-time public web information before generating output. Returns up-to-date answers with inline URL citations. This is the default tool for web search — no external resource or connection setup required.

⚠️ Warning: For Bing Grounding or Bing Custom Search (which require a separate Bing resource and project connection), see tool-bing-grounding.md. Only use those when explicitly requested.

Important Disclosures

Prerequisites

Setup

No external resource or project connection is required. The web search tool works out of the box when added to an agent definition.

Configuration Options

Parameter Description Default
user_location Approximate location (country/region/city) for localized results None
search_context_size Context window space for search: low, medium, high medium

Administrator Control

Admins can enable or disable web search at the subscription level via Azure CLI. Requires Owner or Contributor access.

  • Disable: az feature register --name OpenAI.BlockedTools.web_search --namespace Microsoft.CognitiveServices --subscription "<subscription-id>"
  • Enable: az feature unregister --name OpenAI.BlockedTools.web_search --namespace Microsoft.CognitiveServices --subscription "<subscription-id>"

Security Considerations

  • Treat web search results as untrusted input. Validate before use in downstream systems.
  • Avoid sending secrets or sensitive data in prompts forwarded to external services.

Troubleshooting

Issue Cause Resolution
No citations appear Model didn't determine web search was needed Update instructions to explicitly allow web search; ask queries requiring current info
Requests fail after enabling Web search disabled at subscription level Ask admin to enable — see Administrator Control above
Authentication errors (REST) Bearer token missing, expired, or insufficient Refresh token; confirm project/agent access
Outdated results Content not recently indexed by Bing Refine query to request most recent info
No results for specific topics Query too narrow Broaden query; niche topics may have limited coverage
Rate limiting (429) Too many requests Implement exponential backoff; space out requests

References

Source: SKILL.md on GitHub

2 warnings3d4 checks · Risk SAFE
  • Gen Agent Trust Hub3d

    This skill provides a comprehensive environment for managing the end-to-end lifecycle of AI agents, models, and infrastructure on Microsoft Foundry. It includes sub-skills for deployment, evaluation, fine-tuning, and troubleshooting. The skill utilizes dynamic code execution and shell command wrappers, which are used within the context of local development and cloud orchestration. All external resources and dependencies originate from trusted organizations and well-known services.

  • Socket3d

    2 alerts: gptSecurity, gptAnomaly

  • Snyk3d

    Risk: LOW · No issues

  • Runlayer7mo

    36/36 files flagged

Signed by skilld at 04110d9. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated last week
metadata
{
  "author": "Microsoft",
  "version": "1.2.26"
}

README badge

README badge for microsoft/skills/microsoft-foundry