File search, Azure AI Search, Bing grounding, function, OpenAPI, MCP and code interpreter tools compared.
From Ultra Transcenders AI-103 by Tony Rough (publishing soon)
Tools are how an agent reaches beyond its training data: running code, searching, calling APIs or acting on a screen. Pick the tool that matches the data source or action the agent needs. Figure 6.1 groups these tools by job and shows the state the service keeps alongside them.
| Need | Tool |
|---|---|
| Calculations, data analysis in Python | Code interpreter (sandbox) |
| Current public web data with citations | Web search (recommended; no separate Bing resource) or Grounding with Bing Search (via a project connection) |
| Files uploaded to the agent or chat | File search (chunks and embeds into a vector store) |
| Curated existing index | Azure AI Search tool (project_connection_id plus index name) |
| External REST API | OpenAPI tool |
| Your own code | Function tool |
| GUI automation | Computer use |
| Enterprise analytics data | Microsoft Fabric tool |
Giving an agent a tool doesn’t guarantee it uses it. The tool_choice setting controls that.
tool_choice |
Behaviour |
|---|---|
auto (default) |
Model decides, and may skip the tool |
none |
No tool calls |
required |
At least one tool call every run; the documented fix when an agent won’t call its tool |
tool_choice="required" with one MCP knowledge-base tool gives grounded, cited answers every run. By contrast, tools only lists what’s available, and response_format sets the output format; neither forces a call. knowledge_base isn’t a valid choice.This note is one section of Ultra Transcenders AI-103: Developing AI Apps and Agents on Azure, an independent study guide that explains every topic the exam covers by technology, with comparison tables, diagrams and the common traps, plus a glossary linked to Microsoft Learn.
Publishing soon on Amazon in Kindle and paperback editions.
About the book · Free AI-103 glossary · All AI-103 study notes
Where guardrails check an agent run, what Prompt Shields catch, and when to block or annotate.
How to keep humans in the loop and limit what an agent's tools can do.
System messages, few-shot examples, chain of thought and grounding, and which fix suits which prompt problem.
The indexer pipeline stages, built-in and custom skills, and knowledge store projections.
Vector fields and profiles, HNSW vs exhaustive KNN, hybrid queries with RRF, and the semantic ranker.
Prebuilt and custom analyzers, field extraction methods and Markdown output for RAG.
What Sora 2 can generate, its parameters and limits, and how the asynchronous jobs work.